-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
Format multiline comments using |
in the YAML spec
#333
Labels
enhancement
New feature or request
Comments
Seems like serde-yaml doesn't plan on supporting the choice, but perhaps would support a different default: dtolnay/serde-yaml#174. I'll make a PR when I get time. |
Okay seems like serde-yaml does do this, so something is strange on the Poem side. I'll investigate. |
[dependencies]
- serde_yaml = "0.8.24"
+ serde_yaml = "0.9" |
Done! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently if you have a comment like this above an endpoint using poem-openapi:
It gets written to the spec like this:
But what would be better is this:
I will look into how to make this happen myself, just opening an issue to track it.
The text was updated successfully, but these errors were encountered: