You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you change out the jacksonAnnotationIntrospector for the JaxbAnnotationIntrospector, or just add the jaxb to the pair, then swagger UI will show your controllers, but not the list of methods under them. See the following for how our spring-mvc webservices are exposed:
@dmoses48 Which version of swagger-springmvc are you using. I haven't tried using jaxb annotations, but my guess would be that its not using your redefined message converter and using a new instance of ObjectMapper.
@dmoses48 do you think I can close this issue? Theres already a feature out there that respects jaxb annotations using jackson. Would you mind trying it out and letting me know how it works using the 0.5.0-SNAPSHOT build. You can find examples of config changes here.
The library now comes with an example schema provider that uses Jackson2. There is extensibility hooks to use an externally configured object mapper. Its not yet released and documentation leaves a lot to be desired but the example project should give you an idea.
If you change out the jacksonAnnotationIntrospector for the JaxbAnnotationIntrospector, or just add the jaxb to the pair, then swagger UI will show your controllers, but not the list of methods under them. See the following for how our spring-mvc webservices are exposed:
The text was updated successfully, but these errors were encountered: