public final class OpenApiJsonSchemaMapper extends java.lang.Object implements JsonSchemaMapper
Schema
using configuration settings
found in OpenApiConfig
.
Note: the properties and features added by this mapper can be removed using
JsonSchemaConfig.setDisableFeatures(java.util.Set<java.lang.String>)
.
Constructor and Description |
---|
OpenApiJsonSchemaMapper() |
Modifier and Type | Method and Description |
---|---|
Schema.Builder |
updateSchema(Shape shape,
Schema.Builder builder,
JsonSchemaConfig config)
Updates a schema builder.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOrder
public Schema.Builder updateSchema(Shape shape, Schema.Builder builder, JsonSchemaConfig config)
JsonSchemaMapper
updateSchema
in interface JsonSchemaMapper
shape
- Shape used for the conversion.builder
- Schema builder to update.config
- JSON Schema config.