File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
jaxrs-api/src/main/java/jakarta/ws/rs/core Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,14 @@ public class MediaType {
100100 * A {@link MediaType} constant representing {@value #APPLICATION_JSON} media type.
101101 */
102102 public static final MediaType APPLICATION_JSON_TYPE = new MediaType ("application" , "json" );
103+ /**
104+ * A {@code String} constant representing {@value #APPLICATION_YAML} media type.
105+ */
106+ public static final String APPLICATION_YAML = "application/yaml" ;
107+ /**
108+ * A {@link MediaType} constant representing {@value #APPLICATION_YAML} media type.
109+ */
110+ public static final MediaType APPLICATION_YAML_TYPE = new MediaType ("application" , "yaml" );
103111 /**
104112 * A {@code String} constant representing {@value #APPLICATION_FORM_URLENCODED} media type.
105113 */
You can’t perform that action at this time.
0 commit comments