Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

Commit 5a4a4ef

Browse files
committed
avoid warning
1 parent feac2c3 commit 5a4a4ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/groovy/com/github/hauner/openapi/core/converter/ApiConverter.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ class ApiConverter {
231231
}
232232

233233
private ModelParameter createAdditionalParameter (String path, AddParameterTypeMapping mapping, DataTypes dataTypes, RefResolver resolver) {
234-
TypeMapping tm = mapping.childMappings.first ()
234+
TypeMapping tm = mapping.childMappings.first () as TypeMapping
235235
TargetType tt = tm.targetType
236236

237237
def addType = new MappedDataType (

0 commit comments

Comments
 (0)