OpenAPI spec generated via latest version of ‘Swagger Gradle Plugin’ is not compatible with latest OpenAPI Generator CLI
ideas-into-software opened this issue · comments
OpenAPI spec generated via latest version of ‘Swagger Gradle Plugin’ (io.swagger.core.v3.swagger-gradle-plugin
, version 2.2.20
) is not compatible with latest OpenAPI Generator CLI (openapitools/openapi-generator-cli:latest
).
Specifically, tenths of errors / warnings appear during code generation based on such OpenAPI spec, e.g. over 130 occurrences of "Illegal schema found with non-object type..." error:
ERROR o.o.codegen.InlineModelResolver - Illegal schema found with non-object type combined with properties, no properties should be defined:
class ArraySchema {
class Schema {
Thankfully, this does not prevent code being generated off such OpenAPI spec, which BTW implies such should perhaps be classified as “Warning” instead of “Error” ?