org.openapi4j.parser.model.v3.Schema Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-parser Show documentation
Show all versions of openapi-parser Show documentation
openapi4j schema parser & validator
package org.openapi4j.parser.model.v3;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonNode;
import org.openapi4j.core.exception.DecodeException;
import org.openapi4j.core.model.OAIContext;
import org.openapi4j.core.util.TreeUtil;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import static org.openapi4j.core.model.v3.OAI3SchemaKeywords.*;
@SuppressWarnings({"unused", "UnusedReturnValue"})
public class Schema extends AbsExtendedRefOpenApiSchema {
// additionalProperties field is processed by specific getters/setters
@JsonIgnore
private Schema additionalProperties;
@JsonIgnore
private Boolean additionalPropertiesAllowed;
@JsonProperty(DEFAULT)
private Object defaultValue;
private String description;
private Boolean deprecated;
private Discriminator discriminator;
@JsonProperty(ENUM)
private List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy