Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Route link in api spec #2021

Closed
majoshi1 opened this issue May 23, 2022 · 2 comments
Closed

Route link in api spec #2021

majoshi1 opened this issue May 23, 2022 · 2 comments
Labels

Comments

@majoshi1
Copy link

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

Is there a way to add router link in spec file?

@Oprysk
Copy link
Contributor

Oprysk commented Jul 19, 2022

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)

@lornajane
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants