1
votes

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

1

1 Answers

2
votes

When adding the details of your request body you can enter raw HTML into the description box, e.g.:

enter image description here

It looks like that is how the site you linked manages to get custom tables in that section.