redoc
redoc copied to clipboard
Route link in api spec
We have an application that uses react routes. We are trying to put a link to route in api spec. e.g. <Link to"route name">Text</Link>
Is there a way to add router link in spec file?
Hi @majoshi1
If I understood correctly, you want to use your app route URL in openapi file. If so, the answer is - yes, you can use any route in the definition file for ex. in the description
[Test](/#tag/pet/operation/addPet)
Closing this issue since I think the question was answered. Let us know if you need anything else!