Skip to content

Commit fcf6479

Browse files
izeyesnicoll
authored andcommitted
Add Javadoc since for GraphQL constants
See gh-28369
1 parent 94ed07d commit fcf6479

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

spring-core/src/main/java/org/springframework/util/MimeTypeUtils.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,20 @@ public abstract class MimeTypeUtils {
6767

6868
/**
6969
* Public constant mime type for {@code application/graphql+json}.
70+
* @since 5.3.19
7071
* @see <a href="https://github.com/graphql/graphql-over-http">GraphQL over HTTP spec</a>
71-
* */
72+
*/
7273
public static final MimeType APPLICATION_GRAPHQL;
7374

7475
/**
7576
* A String equivalent of {@link MimeTypeUtils#APPLICATION_GRAPHQL}.
77+
* @since 5.3.19
7678
*/
7779
public static final String APPLICATION_GRAPHQL_VALUE = "application/graphql+json";
7880

7981
/**
8082
* Public constant mime type for {@code application/json}.
81-
* */
83+
*/
8284
public static final MimeType APPLICATION_JSON;
8385

8486
/**

spring-web/src/main/java/org/springframework/http/MediaType.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,14 @@ public class MediaType extends MimeType implements Serializable {
9797

9898
/**
9999
* Public constant media type for {@code application/graphql+json}.
100+
* @since 5.3.19
100101
* @see <a href="https://github.com/graphql/graphql-over-http">GraphQL over HTTP spec</a>
101102
*/
102103
public static final MediaType APPLICATION_GRAPHQL;
103104

104105
/**
105106
* A String equivalent of {@link MediaType#APPLICATION_GRAPHQL}.
107+
* @since 5.3.19
106108
*/
107109
public static final String APPLICATION_GRAPHQL_VALUE = "application/graphql+json";
108110

0 commit comments

Comments
 (0)