2020.4 (1.4.0)
copied from openapi-processor-core
-
openapi-processor/openapi-processor-core#34, report a formatting error including the failing source code
-
openapi-processor/openapi-processor-core#35, using tags like
test_api
&test-api
at the same time would override one interface. Both tags result in the same java interface nameTestApi
( '_' is (usually) not used in interface names and-
is not a valid java identifier char).The processor will now merge endpoints with tags like this into the same interface
-
#39, added json schema for the mapping.yaml. Some IDEs (e.g. Intellij IDEA) use it to provide editing support. Thanks to @schlagi123 for providing the initial version
-
openapi-processor/openapi-processor-core#41, the
_
character was lost when converting enum value names to valid java identifiers. For example an enum valueFOO_FOO
was converted toFOOFOO
. The underscore is now preserved for enum values. -
openapi-processor/openapi-processor-core#43, first step of
allOf
support.allOf
of multiple object schemas will create a model class with all properties of the individual items. -
openapi-processor/openapi-processor-core#44, fixed generation of
@NotNull
bean validation annotation. It is now based on therequired
property instead of thenullable
property -
#48, a type-less schema would crash the processor. It has now minimal handling (more or less ignoring it) so it does not crash anymore.
allOf: - readOnly: true # type-less schema - $ref: '#/components/schemas/Foo' # does not matter if it is $ref
-
updated swagger parser to 2.0.23 (was 2.0.21)