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

Injection security definition doesn't work anymore #2084

Closed
luboblaho opened this issue Jul 19, 2022 · 1 comment
Closed

Injection security definition doesn't work anymore #2084

luboblaho opened this issue Jul 19, 2022 · 1 comment

Comments

@luboblaho
Copy link

Describe the bug
Previously I used the injection of the security definition:

<!-- ReDoc-Inject: <security-definitions> -->

Source: https://github.com/Redocly/redoc/blob/master/docs/security-definitions-injection.md

But this feature doesn't work anymore. I found in your example documentation the following solution that works:

<SecurityDefinitions />

Additional context
I couldn't find a new syntax of the injection in docs. Is the old syntax supported or not? Thank you!

@AlexVarchuk
Copy link
Collaborator

Hi @luboblaho. Thank you for the issue.
We return previous behavior PR. It includes in the next release.
But you can use a new syntax with <SecurityDefinitions />

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

No branches or pull requests

2 participants