io.swagger.jackson.SchemaSerializer Maven / Gradle / Ivy
The newest version!
package io.swagger.jackson;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.ser.ResolvableSerializer;
import io.swagger.oas.models.media.Schema;
import org.apache.commons.lang3.StringUtils;
import java.io.IOException;
public class SchemaSerializer extends JsonSerializer implements ResolvableSerializer {
private JsonSerializer