com.breuninger.boot.validation.autoconfiguration.ValidationProperties.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of validation Show documentation
Show all versions of validation Show documentation
spring-boot-starter-breuninger
package com.breuninger.boot.validation.autoconfiguration
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.http.MediaType
import org.springframework.validation.annotation.Validated
@ConfigurationProperties(prefix = "breuni.validation")
@Validated
class ValidationProperties {
var enabled = false
var errorMediaType = MediaType.APPLICATION_JSON_UTF8_VALUE
}