Add Javadoc since for GraphQL constants

See gh-28369
This commit is contained in:
izeye
2022-04-23 14:58:01 +09:00
committed by Stephane Nicoll
parent 94ed07d9cb
commit fcf64798b5
2 changed files with 6 additions and 2 deletions

View File

@@ -97,12 +97,14 @@ public class MediaType extends MimeType implements Serializable {
/**
* Public constant media type for {@code application/graphql+json}.
* @since 5.3.19
* @see <a href="https://github.com/graphql/graphql-over-http">GraphQL over HTTP spec</a>
*/
public static final MediaType APPLICATION_GRAPHQL;
/**
* A String equivalent of {@link MediaType#APPLICATION_GRAPHQL}.
* @since 5.3.19
*/
public static final String APPLICATION_GRAPHQL_VALUE = "application/graphql+json";