Host Swagger UI 3.0 Dist folder using OWIN

南楼画角 提交于 2019-12-08 07:50:51

问题


I want to self-host the Swagger UI Dist folder on a Web Server using OWIN. I cannot use IIS to host Swagger UI.

Most OWIN guides only talk about hosting Web API projects.

How can I do that?

The reason I want to do this is that I already have a separate project that generates the Open API/Swagger v3.0 schema docs. So I have the specs ready, I just need a way to host/show them on the Swagger UI. And this Swagger UI project needs to be self-hosted.

See this -

Add Swagger UI to a custom .NET Web API

来源:https://stackoverflow.com/questions/51204484/host-swagger-ui-3-0-dist-folder-using-owin

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