我正在使用 Maven、IntelliJ、Jersey(Jax-RS) 开发一个 Web 应用程序,它可以在 Tomcat 服务器上运行。我只是想知道,我们可以看到所有有效 URL 的列表吗?我的意思是有没有我们可以在命令屏幕上写的命令或其他东西来查看?问候,
最佳答案
感谢 Stefan 上面的评论,我找到了 Swigger 来记录我的网络应用程序。根据here ,招摇是:
What is Swagger? The goal of Swagger™ is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection. When properly defined via Swagger, a consumer can understand and interact with the remote service with a minimal amount of implementation logic. Similar to what interfaces have done for lower-level programming, Swagger removes the guesswork in calling the service.
希望对大家有所帮助。
关于web-services - 如何在 Tomcat 中查看所有有效的 URL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48486577/