Reputation: 65
I tried to import API by using Swagger, But unfortunately not getting the body parameters description of POST requests. I tried to add an operation manually, But in that request body description allows only text. But I want to display my API should describe the each and every parameter with an example like in the below URL
Azure sample API with parameters description in the request body description
How can I do this? Thanks
Upvotes: 1
Views: 874
Reputation: 952
When adding the details of your request body you can enter raw HTML into the description box, e.g.:
It looks like that is how the site you linked manages to get custom tables in that section.
Upvotes: 2