5

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 Answers3

2

Update openapi generator plugin to 5.3.0 or more

0

Need to add next settings

additionalProperties: [
   apiFirst: true
]

Here a code where useSpringfox property populated.

Link to the similar conversation.

dos4dev
  • 429
  • 2
  • 10
  • 26
-2

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

user657009
  • 722
  • 2
  • 6
  • 18
  • 2
    This doesn't answer the poster's question. He didn't ask how to make the error go away, but how to not add the import. – Glenn McElhoe Aug 20 '21 at 14:07