Generate JSON Schema for ASP.Net Web API

前端 未结 1 1127
广开言路
广开言路 2021-02-14 11:23

I\'m looking to generate JSON Schema for a WebAPI, including documentation from the XML comments. Its primarily so that I can then import that into our API docs (using apiary.io

1条回答
  •  一生所求
    2021-02-14 12:12

    Yes, you can depend on Swagger and there is extension for it named swashbuckle which you can use it with Web API easily, check this post http://bitoftech.net/2014/08/25/asp-net-web-api-documentation-using-swagger/

    0 讨论(0)
提交回复
热议问题