Skip to content

Commit 204e2b9

Browse files
committed
design comment
1 parent 9aa7b3e commit 204e2b9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/groovy/com/github/hauner/openapi/spring/converter/schema/SchemaType.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ class PrimitiveSchemaType extends BaseSchemaType {
112112
List<TypeMappingX> matchTypeMapping (List<TypeMappingX> typeMappings) {
113113
typeMappings.findAll () {
114114
(it.isLevel (MappingLevel.TYPE)
115+
// simple but ignores the interface!
115116
&& it.sourceTypeName == info.type
116117
&& it.sourceTypeFormat == info.format)
117118
}

0 commit comments

Comments
 (0)