Class Schema31Serializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<io.swagger.v3.oas.models.media.Schema>
io.micronaut.openapi.swagger.core.jackson.Schema31Serializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
,com.fasterxml.jackson.databind.ser.ResolvableSerializer
public class Schema31Serializer
extends com.fasterxml.jackson.databind.JsonSerializer<io.swagger.v3.oas.models.media.Schema>
implements com.fasterxml.jackson.databind.ser.ResolvableSerializer
This class is copied from swagger-core library.
- Since:
- 4.6.0
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None
-
Constructor Summary
ConstructorDescriptionSchema31Serializer
(com.fasterxml.jackson.databind.JsonSerializer<Object> serializer) -
Method Summary
Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties
-
Constructor Details
-
Schema31Serializer
-
-
Method Details
-
resolve
public void resolve(com.fasterxml.jackson.databind.SerializerProvider serializerProvider) throws com.fasterxml.jackson.databind.JsonMappingException - Specified by:
resolve
in interfacecom.fasterxml.jackson.databind.ser.ResolvableSerializer
- Throws:
com.fasterxml.jackson.databind.JsonMappingException
-
serialize
public void serialize(io.swagger.v3.oas.models.media.Schema value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException - Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<io.swagger.v3.oas.models.media.Schema>
- Throws:
IOException
-