I have quite an old application. Spring 5(non-boot). I wanted to have a swagger to understand contract between FE and BE.
I think I've read all topics at SO why Swagger-ui could be unavailable but it still doesn't fully working. But I was able to make /api-docs
endpoint working altough I want to make working /swagger-ui/index.htm
. I have no idea how to configure it so I want to know how to read such a hige json which is a respinse of /api-docs
. Looks like it already contains all contracts.
I tried to find online services like https://api-docs.io/ but it can't read the result for some reasons. Are there any other tools to read that response ?
CodePudding user response:
If swagger generated OpenAPI document in YAML or JSON formats then you can copy and paste them here for a nice UI: https://editor.swagger.io