Replies: 2 comments 1 reply
-
|
https://github.com/trib3/leakycauldron/blob/main/server/src/main/kotlin/com/trib3/server/swagger/SwaggerInitializer.kt may be helpful (kotlin code but sets up swagger on the admin servlet with the contents of the main jax-rs application)? It's been a while since I've looked at it but last I did it worked with dw 3.0.x and swagger 2.2.15. dw 4.0.x/jakarta namespace probably makes things more complicated but i think there are swagger-*-jakarta modules that you can use? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
What I'm doing for CommaFeed is
Hope this helps :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm new to the whole Dropwizard stack, but I have gone as far as being able to deploy a 4.0.x test environment, so I can say that I understand the basic environment.
My next step is to look at generating Rest API docs from the code, but have currently hit something of a brick wall. Both Dropwizard and Swagger have changed a lot over the years, but all the examples of how to integrate them are very dated and so nonfunctional.
Does anyone know of an up-to-date write-up of the work required to combine these 2 projects?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions