swagger - Host Swashbuckle documentation on other Web site -


i have web-api enabled application hosted under iis. i've added swashbuckle , seems work well. i'm able access swashbuckle documentation api.cooldomain.com/swagger/ui/index

is possible host swashbuckle documentation on web site? (api running on api.cooldomain.com , have swashbuckle documentation on docs.cooldomain.com?

swashbuckle hosts swagger api manifest json document at:

[your url root]/swagger/docs/[version e.g. v1]

the swashbuckle index.html hosted @ /swagger downloads json document , uses populate page.

you can not enable swagger ui on api project (but still enable swagger), , host index.html file swashbuckle anywhere (it's in repo here: swagger-ui.

you can have point swagger manifest on api site rendering.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -