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

OpenApi spec does not include jwt_auth as a security option #67

Open
davidnewcomb opened this issue Jun 7, 2022 · 0 comments
Open

OpenApi spec does not include jwt_auth as a security option #67

davidnewcomb opened this issue Jun 7, 2022 · 0 comments

Comments

@davidnewcomb
Copy link

In https://github.com/cliffano/swaggy-jenkins/blob/main/specification/jenkins.yml you have defined: components->securitySchemes jenkins_auth and jwt_auth but only jenkins_auth is used in the security sections.

Shouldn't the following change:

  /blue/rest/users/{user}/favorites:
    get:
      ...
      security:
        - jenkins_auth: []
      tags:
        - blueOcean

to

  /blue/rest/users/{user}/favorites:
    get:
      ...
      security:
        - jenkins_auth: []
        - jwt_auth: []
      tags:
        - blueOcean

2 allow both security schema? Otherwise I have to download the yaml file, change it myself and regenerate the stubs. Is this what you mean for us to do?

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

1 participant