We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AND
OR
Hi,
I see this was already reported in #577, but it seems like it's not fixed.
I have the following code:
"security": [ { "AppID": [] }, { "AppSecret": [] } ]
But it still generates:
So, I get OR there instead of AND. Even if this is intentional, I'd like to change to AND instead (at least with a configuration option).
This is my full HTML:
<!DOCTYPE html> <html> <head> <title>My API</title> <!-- needed for adaptive design --> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet"> <style> body { margin: 0; padding: 0; } </style> </head> <body> <redoc spec-url='my-api-on-gist.json' hide-download-button></redoc> <script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"></script> </body> </html>
The text was updated successfully, but these errors were encountered:
I believe it's here:
redoc/src/components/SecurityRequirement/SecurityRequirement.tsx
Line 46 in 41a9b3c
Sorry, something went wrong.
This is per OAS spec, to get AND change your code to:
"security": [ { "AppID": [], "AppSecret": [] } ]
See here: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#security-requirement-object
@RomanHotsiy interesting, I'll take a look! Thanks!
No branches or pull requests
Hi,
I see this was already reported in #577, but it seems like it's not fixed.
I have the following code:
But it still generates:
So, I get OR there instead of AND. Even if this is intentional, I'd like to change to AND instead (at least with a configuration option).
This is my full HTML:
The text was updated successfully, but these errors were encountered: