Hi i am interested to know how to add the custom text section in the API documentation like this example site: https://api-reference.rebilly.com/#section/Introduction. I am using asp.net core 6 and i have configured Redoc but unable to add the text section in the API documentation. i have also tried to follow the answer in this question. Add textual sections to Swagger using Swashbuckle
But didn't find any luck. Any help would be appreciated.
i have also tried to follow the answer in this question. Add textual sections to Swagger using Swashbuckle
But didn't find any luck. Any help would be appreciated.
To get the introduction like this, use markdown in the
info.description
field of your OpenAPI description. You can add headings, links, whatever you want to present to your users at the top of the page.Click the "Download" link at the top of the reference docs you linked to - this will give you the OpenAPI file that this documentation was built from as an example.