Class JsonSchemaRefConverter
- java.lang.Object
-
- io.openapiprocessor.jsonschema.converter.JsonSchemaRefConverter
-
- All Implemented Interfaces:
PropertyConverter<JsonSchema>
public class JsonSchemaRefConverter extends java.lang.Object implements PropertyConverter<JsonSchema>
-
-
Constructor Summary
Constructors Constructor Description JsonSchemaRefConverter(JsonSchemaContext refContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable JsonSchemaconvert(java.lang.String name, @Nullable java.lang.Object value, java.lang.String location)converts thevalueof a property to aTobject or null.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.openapiprocessor.jsonschema.converter.PropertyConverter
convert
-
-
-
-
Constructor Detail
-
JsonSchemaRefConverter
public JsonSchemaRefConverter(JsonSchemaContext refContext)
-
-
Method Detail
-
convert
public @Nullable JsonSchema convert(java.lang.String name, @Nullable java.lang.Object value, java.lang.String location)
Description copied from interface:PropertyConverterconverts thevalueof a property to aTobject or null. May throw if conversion fails, e.g. if the property is required but null.- Specified by:
convertin interfacePropertyConverter<JsonSchema>- Parameters:
name- property namevalue- property valuelocation- property location, json pointer- Returns:
- T converted value
-
-