Java Setup for Spring Jersey JAX RS · swagger-api/swagger-core Wiki
In this environment, you can't use the Default JAX-RS Swagger configuration, mainly because the @Context Application
doesn't contain the correct getSingletons()
and getClasses()
that Swagger uses to generate the API listings. This is because Spring must manage these beans in order for Jersey to use them, so you end up needing to declare each of the Swagger resources in your Spring XML file.
Read full article from Java Setup for Spring Jersey JAX RS · swagger-api/swagger-core Wiki
No comments:
Post a Comment