在 .Net 中创建了一组 Web API,它附带了一个网页,其中仅列出了每个 API 方法,您可以选择要运行的方法。
什么是Spring STS?
最佳答案
您可以为此使用 Swagger UI,使用 Spring 使用一些注释非常容易设置。
这里还有一个使用 Spring 进行设置的指南:
http://www.baeldung.com/swagger-2-documentation-for-spring-rest-api
关于java - Spring STS : How to automatically create a webpage for all API methods, 就像 .Net 一样,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45593178/