Configuration Reference

Version:2.0.0-SNAPSHOT

Micronaut Json Schema Configuration Validator Config Properties

🔗
Table 1. Configuration Properties for HealthConfiguration
Property Type Description Default value

endpoints.health.configurationerrors.enabled

boolean

Whether the configuration validation health indicator is enabled. Default value true

🔗
Table 2. Configuration Properties for ConfigurationValidatorConfiguration
Property Type Description Default value

micronaut.jsonschema.configuration.validator.cache

boolean

Whether the validation result should be cached. Default value true

micronaut.jsonschema.configuration.validator.fail-on-not-present

boolean

Whether to fail when configuration contains keys not present in schema. Default value true

micronaut.jsonschema.configuration.validator.suppressions

java.util.List

Patterns used to suppress validation errors

micronaut.jsonschema.configuration.validator.dependency-injection-validation-strategy

DependencyInjectionValidationStrategy

The DI validation strategy. Default value {@code REACHABLE}

Micronaut Json Schema Utils Config Properties

🔗
Table 3. Configuration Properties for JsonSchemaConfigurationProperties
Property Type Description Default value

micronaut.jsonschema.output-location

java.lang.String

The location where JSON schemas will be generated inside the build META-INF/ directory. It defaults to {@value DEFAULT_OUTPUT_LOCATION}.

Micronaut Json Schema Validation Config Properties

🔗
Table 4. Configuration Properties for JsonSchemaValidatorConfiguration
Property Type Description Default value

micronaut.jsonschema.validation.base-uri

java.lang.String

The base URI for JSON schemas to be validated

http://localhost:8080/schemas/

micronaut.jsonschema.validation.classpath-folder

java.lang.String

THe folder where the JSON schemas are located, on the classpath. Deprecated. Not used. Use {@link JsonSchemaConfiguration#getOutputLocation()} instead.

META-INF/schemas/