Please find the schemas in my contract yaml file : While using swagger 2, the generated class Foo extends Bar. But after using openAPI 3 Foo isn’t extending Bar when using allOf. All it is doing is copying all the properties of Bar to Foo class. Although now that Foo class will contain all the properties of Bar, Foo isn’t
Tag: openapi-generator-maven-plugin
OpenAPI generator Java Client SE
I’ve an OperAPI like this, with content “application/x-www-form-urlencoded” that i must use (the external API to implement support only that): The OpenAPI Generator Maven’s plugin creates a request class “GenerateTokenRequest” for the schema object but in API implementation class it doesn’t use. It generate a method with all requested fields as a list of parameter. The method is this: So,
openapi-generator-maven-plugin upgrade openapi spec to 3.1.0
I am using plugin openapi-generator-maven-plugin in version 5.3.1. Upgrading openapi spec from 3.0.3 to 3.1.0 causes generation phase errors: Spec sample: plugin error: Previous version of openapi works fine.. I couldn’t find information if plugin supports that version of spec, but error message is very vauge. How to use openapi-generator-maven-plugin with spec 3.1.0? Answer As of July 2022, OpenAPI Generator