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

Handle emtpy object in security array #2074

Closed
gui-camargo opened this issue Jul 7, 2022 · 2 comments
Closed

Handle emtpy object in security array #2074

gui-camargo opened this issue Jul 7, 2022 · 2 comments

Comments

@gui-camargo
Copy link

Describe the bug
The handle (None) that was implemented in fix #1678, no longer works correctly.
I believe this was caused by feature #2022.

image

Expanded:
image

Expected behavior
Show the text "None" (or any other text) when there's an empty security object.

image

Minimal reproducible OpenAPI snippet(if possible)

  /v1/merchant:
    get:
      summary: "Get information of a Merchant"
      security:
        - {}
        - apiKey: []
@cmeeren
Copy link

cmeeren commented Aug 10, 2022

I am also seeing this. It makes the API docs more confusing. Hoping someone can fix this! 🙂

@AlexVarchuk AlexVarchuk self-assigned this Oct 7, 2022
@AlexVarchuk
Copy link
Collaborator

Seems it done. Closed via #2134

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

3 participants