com.github.erosb.kappa.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
The newest version!
package com.github.erosb.kappa.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 com.github.erosb.kappa.core.exception.DecodeException;
import com.github.erosb.kappa.core.model.OAIContext;
import com.github.erosb.kappa.core.model.v3.OAI3SchemaKeywords;
import com.github.erosb.kappa.core.util.TreeUtil;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@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(OAI3SchemaKeywords.DEFAULT)
private Object defaultValue;
private String description;
private Boolean deprecated;
private Discriminator discriminator;
@JsonProperty(OAI3SchemaKeywords.ENUM)
private List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy