in smithy-jsonschema/src/main/java/software/amazon/smithy/jsonschema/Schema.java [855:929]
public Builder disableProperty(String propertyName) {
switch (propertyName) {
case "const":
return this.constValue(null);
case "default":
return this.defaultValue(null);
case "enum":
return this.enumValues(null);
case "multipleOf":
return this.multipleOf(null);
case "maximum":
return this.maximum(null);
case "exclusiveMaximum":
return this.exclusiveMaximum(null);
case "minimum":
return this.minimum(null);
case "exclusiveMinimum":
return this.exclusiveMinimum(null);
case "maxLength":
return this.maxLength(null);
case "minLength":
return this.minLength(null);
case "pattern":
return this.pattern(null);
case "items":
return this.items(null);
case "maxItems":
return this.maxItems(null);
case "minItems":
return this.minItems(null);
case "uniqueItems":
return this.uniqueItems(false);
case "properties":
return this.properties(null);
case "additionalProperties":
return this.additionalProperties(null);
case "required":
return this.required(null);
case "maxProperties":
return this.maxProperties(null);
case "minProperties":
return this.minProperties(null);
case "propertyNames":
return this.propertyNames(null);
case "allOf":
return this.allOf(null);
case "anyOf":
return this.anyOf(null);
case "oneOf":
return this.oneOf(null);
case "not":
return this.not(null);
case "title":
return this.title(null);
case "description":
return this.description(null);
case "format":
return this.format(null);
case "readOnly":
return this.readOnly(false);
case "writeOnly":
return this.writeOnly(false);
case "comment":
return this.comment(null);
case "contentEncoding":
return this.contentEncoding(null);
case "contentMediaType":
return this.contentMediaType(null);
case "examples":
return this.examples(null);
default:
LOGGER.warning("Unknown JSON Schema config 'disable' property: " + propertyName);
return this;
}
}