Swagger and swagger.json location

旧时模样 提交于 2019-12-13 00:22:56

问题


I managed to put together a swagger implementation with my java web service as a servlet declared in my web.xml. Now I'm to the point of adding meaningful annotations and everything is fine. However, in attempting to then implement swagger-ui to put a pretty face/functionality on it - I quickly realized how little I really understand how the process all works. For instance, I have no problem generating a swagger.json from a usability standpoint - i.e., I can view it through the browser where I expect it, but at no time can I actually find a physical manifestation of the swagger.json in my project directory. Does/can that make sense?

来源:https://stackoverflow.com/questions/49145189/swagger-and-swagger-json-location

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!