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 CodeGen | Generate auth requirements for endpoints #3092

Open
987Nabil opened this issue Sep 5, 2024 · 3 comments
Open

OpenAPI CodeGen | Generate auth requirements for endpoints #3092

987Nabil opened this issue Sep 5, 2024 · 3 comments
Labels
💎 Bounty code gen A code gen only issue enhancement New feature or request

Comments

@987Nabil
Copy link
Contributor

987Nabil commented Sep 5, 2024

Security schemas used on operations should generate code that sets the auth requirements to the endpoint via the auth method

see #3091

@987Nabil 987Nabil added enhancement New feature or request code gen A code gen only issue labels Sep 5, 2024
@countfloyd
Copy link

Also doesn't work the other way around. Endpoints specified with auth types do not generate openapi with auth attributes so you can't call any of the endpoints from the generated swagger/openapi page.

I'll create a ticket for this.

@jdegoes
Copy link
Member

jdegoes commented Sep 18, 2024

/bounty $250

Copy link

algora-pbc bot commented Sep 18, 2024

💎 $250 bounty • ZIO

Steps to solve:

  1. Start working: Comment /attempt #3092 with your implementation plan
  2. Submit work: Create a pull request including /claim #3092 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to zio/zio-http!

Add a bountyShare on socials

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💎 Bounty code gen A code gen only issue enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants