public final class JsonSchemaHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static com.fasterxml.jackson.databind.node.ObjectNode |
createJsonSchema(String title,
com.fasterxml.jackson.databind.node.ObjectNode schema) |
static String |
determineSchemaReference(io.swagger.models.properties.Property schema) |
static String |
javaTypeFor(io.swagger.models.parameters.SerializableParameter parameter) |
static com.fasterxml.jackson.databind.node.ObjectNode |
newJsonObjectSchema() |
static com.fasterxml.jackson.databind.node.ObjectNode |
parseJsonSchema(String schema) |
static com.fasterxml.jackson.databind.node.ObjectNode |
resolvableNodeForSpecification(com.fasterxml.jackson.databind.node.ObjectNode json) |
static com.fasterxml.jackson.databind.node.ObjectNode |
resolveSchemaForReference(com.fasterxml.jackson.databind.node.ObjectNode json,
String title,
String reference) |
static String |
serializeJson(com.fasterxml.jackson.databind.JsonNode schemaNode) |
public static com.fasterxml.jackson.databind.node.ObjectNode createJsonSchema(String title, com.fasterxml.jackson.databind.node.ObjectNode schema)
public static String determineSchemaReference(io.swagger.models.properties.Property schema)
public static String javaTypeFor(io.swagger.models.parameters.SerializableParameter parameter)
public static com.fasterxml.jackson.databind.node.ObjectNode newJsonObjectSchema()
public static com.fasterxml.jackson.databind.node.ObjectNode parseJsonSchema(String schema)
public static com.fasterxml.jackson.databind.node.ObjectNode resolvableNodeForSpecification(com.fasterxml.jackson.databind.node.ObjectNode json)
public static com.fasterxml.jackson.databind.node.ObjectNode resolveSchemaForReference(com.fasterxml.jackson.databind.node.ObjectNode json,
String title,
String reference)
public static String serializeJson(com.fasterxml.jackson.databind.JsonNode schemaNode)
Copyright © 2016–2019 Red Hat. All rights reserved.