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

Links overwriting react routes #2013

Open
majoshi1 opened this issue May 17, 2022 · 4 comments
Open

Links overwriting react routes #2013

majoshi1 opened this issue May 17, 2022 · 4 comments

Comments

@majoshi1
Copy link

majoshi1 commented May 17, 2022

We have an application, that uses react routes. Now, consider following flow:
Paths -> Requests (get, post etc) -> Security

For above flow, redoc is creating href to security schemas. On click of the href, the browser url is changed with #content id. This affects the react routing of our application. Is there a way to avoid this? If not, is it possible to override this behavior?

@majoshi1 majoshi1 changed the title Ability to control href Links overwriting react routes May 17, 2022
@AlexVarchuk
Copy link
Collaborator

Hi @majoshi1, thank you for your question.
Soon we have a plan to include auth section in Operations(Request Operations too).
After that Operations will not have a link to Auth section on top.

Seems, it can be the solution for your case.

@AlexVarchuk
Copy link
Collaborator

related #2022

@AlexVarchuk
Copy link
Collaborator

#2021
#2030

@majoshi1
Copy link
Author

majoshi1 commented Jul 6, 2022

#2051

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

No branches or pull requests

2 participants