How to disable springfox import on openApi generation?

Viewed 1016

I would like to replace openapi generator plugin from 5.0.0 to 5.1.0. If I build my project it automatically imports import springfox.documentation.annotations.ApiIgnore; to my all generated by API interfaces.

How can I ignore this implementation?

3 Answers

Update openapi generator plugin to 5.3.0 or more

Need to add next settings

additionalProperties: [
   apiFirst: true
]

Here a code where useSpringfox property populated.

Link to the similar conversation.

add dependency to project: implementation "io.springfox:springfox-core"

Related