Skip to content

[BUG] [SPRING-CLOUD] Multiple Security breaks the generated code #16023

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

Open
MelleD opened this issue Jul 6, 2023 · 0 comments
Open

[BUG] [SPRING-CLOUD] Multiple Security breaks the generated code #16023

MelleD opened this issue Jul 6, 2023 · 0 comments

Comments

@MelleD
Copy link
Contributor

MelleD commented Jul 6, 2023

If you use multiple security schemes, the spring cloud generator code generator breaks and produces non-compilable code.

  securitySchemes:
    oauth:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: '/auth'
          tokenUrl: '/token'
          scopes: { }
        clientCredentials:
          tokenUrl: '/token'
          scopes: { }
    basicAuth:
      type: http
      scheme: basic

I was able to fix that so far and I would still include it in the PR.
#16011

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

1 participant