public abstract class UnifiedJsonDataShapeSupport<T extends io.apicurio.datamodels.openapi.models.OasDocument,O extends io.apicurio.datamodels.openapi.models.OasOperation> extends Object implements DataShapeGenerator<T,O>
DataShapeGenerator.NameAndSchemaAPPLICATION_JSON, APPLICATION_XML, DATA_SHAPE_NONE| Constructor and Description |
|---|
UnifiedJsonDataShapeSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected com.fasterxml.jackson.databind.node.ObjectNode |
createJsonSchemaForBodyOf(com.fasterxml.jackson.databind.node.ObjectNode json,
T openApiDoc,
O operation) |
protected static com.fasterxml.jackson.databind.node.ObjectNode |
createSchemaFromModel(com.fasterxml.jackson.databind.node.ObjectNode json,
String name,
io.apicurio.datamodels.openapi.models.OasSchema schema) |
protected static DataShape |
unifiedJsonSchema(String name,
String description,
com.fasterxml.jackson.databind.node.ObjectNode bodySchema,
com.fasterxml.jackson.databind.node.ObjectNode parametersSchema) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateShapeFromRequest, createShapeFromResponse, findBodySchema, findResponse, resolveResponsesprotected com.fasterxml.jackson.databind.node.ObjectNode createJsonSchemaForBodyOf(com.fasterxml.jackson.databind.node.ObjectNode json,
T openApiDoc,
O operation)
protected static com.fasterxml.jackson.databind.node.ObjectNode createSchemaFromModel(com.fasterxml.jackson.databind.node.ObjectNode json,
String name,
io.apicurio.datamodels.openapi.models.OasSchema schema)
Copyright © 2016–2021 Red Hat. All rights reserved.