Generating Swagger documentation from existing REST api
问题 Given an existing JAX-RS-annotated API that accepts & returns json, with jackson-annotated types, is there a way that I can generate some YAML Swagger documentation? My plan B is to write some code that uses reflection to find REST-annotated types, make a hashmap of their arguments & returns, and then crawl those classes for Jackson annotations, and generate the documentation that way. I would prefer to use a solution that already exists to writing a one-off thing. I found this Swagger module