We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 174a616 commit b3005f6Copy full SHA for b3005f6
1 file changed
src/main/groovy/com/github/hauner/openapi/spring/converter/schema/SchemaInfo.groovy
@@ -18,6 +18,7 @@ package com.github.hauner.openapi.spring.converter.schema
18
19
import com.github.hauner.openapi.spring.converter.mapping.MappingSchema
20
import groovy.transform.stc.ClosureParams
21
+import io.swagger.v3.oas.models.media.ArraySchema
22
import io.swagger.v3.oas.models.media.Schema
23
24
/**
@@ -96,8 +97,8 @@ class SchemaInfo implements MappingSchema {
96
97
SchemaInfo buildForItem () {
98
new SchemaInfo (
99
path: path,
- name: schema.items.type,
100
- schema: schema.items,
+ name: (schema as ArraySchema).items.type,
101
+ schema: (schema as ArraySchema).items,
102
resolver: resolver)
103
}
104
0 commit comments