public class HyperSchemaGeneratorV4 extends JsonSchemaGenerator
| Modifier | Constructor and Description |
|---|---|
protected |
HyperSchemaGeneratorV4(JsonSchemaGenerator jsonSchemaGenerator) |
| Modifier and Type | Method and Description |
|---|---|
<T> com.fasterxml.jackson.databind.node.ObjectNode |
generateSchema(Class<T> type) |
protected void |
processSchemaProperty(com.fasterxml.jackson.databind.node.ObjectNode schema,
Attributes props)
Reads
Attributes annotation and put its values into the
generating schema. |
checkAndProcessType, createInstance, createRefSchema, generatePropertySchema, isAutoPutVersion, mergeSchema, mergeWithParent, overwriteProperty, processCustomType, processFields, processProperties, processRootAttributes, setAutoPutVersionprotected HyperSchemaGeneratorV4(JsonSchemaGenerator jsonSchemaGenerator)
public <T> com.fasterxml.jackson.databind.node.ObjectNode generateSchema(Class<T> type) throws TypeException
generateSchema in class JsonSchemaGeneratorTypeExceptionprotected void processSchemaProperty(com.fasterxml.jackson.databind.node.ObjectNode schema,
Attributes props)
JsonSchemaGeneratorAttributes annotation and put its values into the
generating schema. Usually, some verification is done for not putting the
default values.processSchemaProperty in class JsonSchemaGeneratorCopyright © 2018. All rights reserved.