redoc icon indicating copy to clipboard operation
redoc copied to clipboard

Route link in api spec

Open majoshi1 opened this issue 3 years ago • 1 comments

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?

majoshi1 avatar May 23 '22 15:05 majoshi1

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)

Oprysk avatar Jul 19 '22 13:07 Oprysk

Closing this issue since I think the question was answered. Let us know if you need anything else!

lornajane avatar Jul 19 '23 17:07 lornajane