Makar Shokarev
Makar Shokarev

Reputation: 133

How to disable springfox import on openApi generation?

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?

Upvotes: 5

Views: 2211

Answers (3)

Achille Guemkam
Achille Guemkam

Reputation: 181

Update openapi generator plugin to 5.3.0 or more

Upvotes: 2

dos4dev
dos4dev

Reputation: 525

Need to add next settings

additionalProperties: [
   apiFirst: true
]

Here a code where useSpringfox property populated.

Link to the similar conversation.

Upvotes: 0

user657009
user657009

Reputation: 782

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

Upvotes: -2

Related Questions