How to document OData endpoints (swagger, swashbuckle, other)?

free4ride picture free4ride · Aug 5, 2015 · Viewed 12.2k times · Source

What is the best way of documenting OData endpoints? Is there a way to use Swashbuckle for it?

Answer

Richard Beauchamp picture Richard Beauchamp · Nov 18, 2015

Yes, try Swashbuckle.OData. It adds Swashbuckle support for ODataControllers.

See it in action here: http://swashbuckleodata.azurewebsites.net/swagger