Closed countfloyd closed 1 week ago
You can do Doc.p("...").tag("My Tag")
, and that would keep the tag, but then another thing comes up:
the description
for the endpoint gets replaced with - My Tag\n
, and the path also gets the same value in description
🤔
/bounty $75 for fix and test cases.
These operators should all be "append-only", i.e. they do not discard existing information.
/attempt #3131
with your implementation plan/claim #3131
in the PR body to claim the bountyThank you for contributing to zio/zio-http!
Add a bounty • Share on socials
Attempt | Started (GMT+0) | Solution |
---|---|---|
🟢 @987Nabil | #3147 |
🎉🎈 @987Nabil has been awarded $75! 🎈🎊
Consider an endpoint:
If I look at the OpenAPI docs generated for this endpoint, the tag is missing. I think the ?? Doc call is overwriting the tag since the tag seems to be part of the endpoint's documentation.