This repository was archived by the owner on Dec 19, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
playground-spring-boot-autoconfigure/src/main/java/com/oembedler/moon/playground/boot Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 11package com .oembedler .moon .playground .boot ;
22
3- import com .fasterxml .jackson .annotation .JsonAutoDetect ;
3+ import com .fasterxml .jackson .annotation .JsonIgnore ;
44import com .fasterxml .jackson .annotation .JsonInclude ;
5- import com .fasterxml .jackson .annotation .JsonProperty ;
65import com .oembedler .moon .playground .boot .settings .PlaygroundSettings ;
76import lombok .Data ;
87
98import javax .validation .constraints .NotEmpty ;
109import java .util .List ;
1110
1211@ Data
13- @ JsonAutoDetect (fieldVisibility = JsonAutoDetect .Visibility .NONE , getterVisibility = JsonAutoDetect .Visibility .NONE ,
14- isGetterVisibility = JsonAutoDetect .Visibility .NONE )
1512@ JsonInclude (JsonInclude .Include .NON_NULL )
1613public class PlaygroundProperties {
1714
1815 @ NotEmpty
19- @ JsonProperty
2016 private String endpoint = "/graphql" ;
2117
2218 @ NotEmpty
23- @ JsonProperty
2419 private String subscriptionEndpoint = "/subscriptions" ;
2520
21+ @ JsonIgnore
2622 private boolean cdnEnabled ;
2723
2824 @ NotEmpty
25+ @ JsonIgnore
2926 private String cdnVersion = "latest" ;
3027
28+ @ JsonIgnore
3129 private String pageTitle = "Playground" ;
3230
33- @ JsonProperty
3431 private PlaygroundSettings settings ;
3532
36- @ JsonProperty
3733 private List <PlaygroundTab > tabs ;
3834}
You can’t perform that action at this time.
0 commit comments