1.0.0.M12
Pre-release
Pre-release
improvements
-
#91, support for composed schemas using
allOf
,anyOf
oroneOf
. The processor does create the single model classes. except the combined model class forallOf
. -
use the
path
s operation id (if available) to create the method identifier of the path:paths: /foo: get: operationId: get-bar responses: ...
will create the following method name
@GetMapping(path = "/foo") ResponseEntity<...> getBar();
if no
operationId
is available, the name is created from path (foo) and http method (get):@GetMapping(path = "/foo") ResponseEntity<...> getFoo();
-
openapi4j parser support. It provides better validation information. To select the parser set the
parser
in the processor configuration (gradle):openapiProcessor { spring { // ... other configuration // sets the parser to SWAGGER or OPENAPI4J. if not set SWAGGER is used. parser 'OPENAPI4J' } }