Skip to content

Controllers and Response Objects

Emma Corbett edited this page Jun 25, 2020 · 7 revisions

Maps straight to JSON - should match planned swagger hub doc XML comments for auto generated swagger

Auto-generated swagger docs

We use swashbuckler to auto-generate swagger documentation, based on the code in the controller class and the response objects. You can see them by going to baseurl/swagger/index.html (http://localhost:5000/swagger/index.html) if running the API locally.

Documentation for adding XML comments and how it renders in the swagger UI can be found here

Clone this wiki locally