zio / zio-http

A next-generation Scala framework for building scalable, correct, and efficient HTTP clients and servers
https://zio.dev/zio-http
Apache License 2.0
787 stars 396 forks source link

Optional Codecs are required in OpenApi #3127

Closed brndt closed 1 week ago

brndt commented 4 weeks ago

When using optional encoding for query, the resulting OpenApi UI enforces you to pass these query params as required ones.

Screenshot_2024-09-10_at_21 37 50
jdegoes commented 3 weeks ago

/bounty $125 for fixes and test cases for ALL optional elements (not just query parameters).

algora-pbc[bot] commented 3 weeks ago

💎 $125 bounty • ZIO

Steps to solve:

  1. Start working: Comment /attempt #3127 with your implementation plan
  2. Submit work: Create a pull request including /claim #3127 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 bounty • Share on socials

Attempt Started (GMT+0) Solution
🟢 @987Nabil #3152
algora-pbc[bot] commented 3 weeks ago

💡 @987Nabil submitted a pull request that claims the bounty. You can visit your bounty board to reward.

algora-pbc[bot] commented 1 week ago

🎉🎈 @987Nabil has been awarded $125! 🎈🎊