Class CallbackSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<io.swagger.v3.oas.models.callbacks.Callback>
io.micronaut.openapi.swagger.core.jackson.CallbackSerializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
public class CallbackSerializer
extends com.fasterxml.jackson.databind.JsonSerializer<io.swagger.v3.oas.models.callbacks.Callback>
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
serialize
(io.swagger.v3.oas.models.callbacks.Callback value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties
-
Constructor Details
-
CallbackSerializer
public CallbackSerializer()
-
-
Method Details
-
serialize
public void serialize(io.swagger.v3.oas.models.callbacks.Callback 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.callbacks.Callback>
- Throws:
IOException
-