You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using de Spring Generator to generate classes from a OpenApi.yaml file.
A new additional property "validationMode" was added recently with default value "strict".
This cause the statement "import io.swagger.configuration.NotUndefined;" to be added in the model classes.
But when the plugin is configured with config option "configPackage" this class is generated in that package.
Causing the model class to fail to compile, because class "io.swagger.configuration.NotUndefined" can't be found.
Description
We are using de Spring Generator to generate classes from a OpenApi.yaml file.
A new additional property "validationMode" was added recently with default value "strict".
This cause the statement "import io.swagger.configuration.NotUndefined;" to be added in the model classes.
But when the plugin is configured with config option "configPackage" this class is generated in that package.
Causing the model class to fail to compile, because class "io.swagger.configuration.NotUndefined" can't be found.
Swagger-codegen version
3.0.63
Steps to reproduce
Add the Maven Plugin to generate the classes.
Suggest a fix/enhancement
Our workaround for now is using the legacy validation mode.
The text was updated successfully, but these errors were encountered: