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

feat: application/yaml MediaType #1273

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions jaxrs-api/src/main/java/jakarta/ws/rs/core/MediaType.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,14 @@ public class MediaType {
* A {@link MediaType} constant representing {@value #APPLICATION_JSON} media type.
*/
public static final MediaType APPLICATION_JSON_TYPE = new MediaType("application", "json");
/**
* A {@code String} constant representing {@value #APPLICATION_YAML} media type.
*/
public static final String APPLICATION_YAML = "application/yaml";
/**
* A {@link MediaType} constant representing {@value #APPLICATION_YAML} media type.
*/
public static final MediaType APPLICATION_YAML_TYPE = new MediaType("application", "yaml");
/**
* A {@code String} constant representing {@value #APPLICATION_FORM_URLENCODED} media type.
*/
Expand Down