Skip to content
Advertisement

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:

JavaScript

plugin error:

JavaScript

Previous version of openapi works fine..

JavaScript

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?

Advertisement

Answer

As of July 2022, OpenAPI Generator does not support OpenAPI 3.1 yet. Follow this issue for updates:
https://github.com/OpenAPITools/openapi-generator/issues/9083

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement