Forum Discussion

suhaskr's avatar
suhaskr
Occasional Visitor
7 months ago

Swagger 2.0 to OpenApi 3.0

we are using all the classes with import io.swagger.annotations.*; and we have moved to jakarta. Please let me know where I can find the documentation to know what are annotations to be used. Please also suggest me swagger maven plugin which takes jakarta into consideration and generate a JSON file. Attach sample plugin to be used to generate JSON with open api 3 or greater. 

  • The most relevant docs live in our GitHub repo: https://github.com/swagger-api/swagger-core/wiki/Swagger-2.X---Annotations#note-jakarta-namespace-support-since-version-217

  • Got excited because I'm looking for the same ... Only to find out there's nothing here. Hopefully someone will figure it out. I know they are somewhere in the `io.swagger.v3.oas.annotations` namespace but...