-
Notifications
You must be signed in to change notification settings - Fork 121
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
Add application/yaml MediaType #1272
Comments
YAML is definitely being used more these days so I don't object to this if others are okay with it. That said, I don't think we need to add every media type. It's really simple to define your own that can be used in your own code. |
Yep, agree with you. I have next point: Here is three well-known formats:
I'm sure that will be better add YAML, to receive it's support out of the box in frameworks, like Quarkus, for example and not to create and pack own-crafted MediaType |
Just adding a string constant does not make it supported "out of the box", as JAX-RS does not mandate any implementation to provide Entity Providers for YAML. |
No problem, I'm ready to implement it. Where to dig? |
In the repo of every vendor implementing JAX-RS, as here at JAX-RS we only provide interfaces. 😅 |
Oookay, understood 😅 |
A good starting point is Jersey. For long time it was the Reference Implementation of JAX-RS, and still many people are using it. |
Hi!
I'm working on service, which is working with YAML, so I decided to propose to you to add
application/yaml
MediaTypeRFC: https://www.rfc-editor.org/rfc/rfc9512.html#name-media-type-application-yaml
IANA: https://www.iana.org/assignments/media-types/media-types.xhtml
The text was updated successfully, but these errors were encountered: