All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graphql.kickstart.autoconfigure.editor.playground.properties.PlaygroundSettings Maven / Gradle / Ivy

package graphql.kickstart.autoconfigure.editor.playground.properties;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonUnwrapped;
import graphql.kickstart.autoconfigure.editor.playground.properties.settings.PlaygroundEditorSettings;
import graphql.kickstart.autoconfigure.editor.playground.properties.settings.PlaygroundPrettierSettings;
import graphql.kickstart.autoconfigure.editor.playground.properties.settings.PlaygroundRequestSettings;
import graphql.kickstart.autoconfigure.editor.playground.properties.settings.PlaygroundSchemaSettings;
import graphql.kickstart.autoconfigure.editor.playground.properties.settings.PlaygroundTracingSettings;
import lombok.Data;
import org.springframework.boot.context.properties.NestedConfigurationProperty;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PlaygroundSettings {

  @NestedConfigurationProperty
  @JsonUnwrapped(prefix = "editor.")
  private PlaygroundEditorSettings editor;

  @NestedConfigurationProperty
  @JsonUnwrapped(prefix = "prettier.")
  private PlaygroundPrettierSettings prettier;

  @NestedConfigurationProperty
  @JsonUnwrapped(prefix = "request.")
  private PlaygroundRequestSettings request;

  @NestedConfigurationProperty
  @JsonUnwrapped(prefix = "schema.")
  private PlaygroundSchemaSettings schema;

  @NestedConfigurationProperty
  @JsonUnwrapped(prefix = "tracing.")
  private PlaygroundTracingSettings tracing;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy