Skip to content
Advertisement

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

Advertisement