org.openapi4j.schema.validator.v3.ValidationOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-schema-validator Show documentation
Show all versions of openapi-schema-validator Show documentation
openapi4j schema data validator
package org.openapi4j.schema.validator.v3;
/**
* Options to change the behaviour of the default implementation.
*/
public final class ValidationOptions {
private ValidationOptions() {}
/**
* By default, in JSON schema v0, all schemas allow additional properties.
*
* Setting this to {@code true} invert the behaviour.
*/
public static final byte ADDITIONAL_PROPS_RESTRICT = 1;
}