com.networknt.oas.model.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
A light-weight, fast OpenAPI 3.0 parser and validator
package com.networknt.oas.model;
import com.networknt.oas.jsonoverlay.Reference;
import java.util.Collection;
import java.util.Map;
public interface Schema extends OpenApiObject {
// Title
String getTitle();
String getTitle(boolean elaborate);
void setTitle(String title);
// MultipleOf
Number getMultipleOf();
Number getMultipleOf(boolean elaborate);
void setMultipleOf(Number multipleOf);
// Maximum
Number getMaximum();
Number getMaximum(boolean elaborate);
void setMaximum(Number maximum);
// ExclusiveMaximum
Boolean getExclusiveMaximum();
Boolean getExclusiveMaximum(boolean elaborate);
boolean isExclusiveMaximum();
void setExclusiveMaximum(Boolean exclusiveMaximum);
// Minimum
Number getMinimum();
Number getMinimum(boolean elaborate);
void setMinimum(Number minimum);
// ExclusiveMinimum
Boolean getExclusiveMinimum();
Boolean getExclusiveMinimum(boolean elaborate);
boolean isExclusiveMinimum();
void setExclusiveMinimum(Boolean exclusiveMinimum);
// MaxLength
Integer getMaxLength();
Integer getMaxLength(boolean elaborate);
void setMaxLength(Integer maxLength);
// MinLength
Integer getMinLength();
Integer getMinLength(boolean elaborate);
void setMinLength(Integer minLength);
// Pattern
String getPattern();
String getPattern(boolean elaborate);
void setPattern(String pattern);
// MaxItems
Integer getMaxItems();
Integer getMaxItems(boolean elaborate);
void setMaxItems(Integer maxItems);
// MinItems
Integer getMinItems();
Integer getMinItems(boolean elaborate);
void setMinItems(Integer minItems);
// UniqueItems
Boolean getUniqueItems();
Boolean getUniqueItems(boolean elaborate);
boolean isUniqueItems();
void setUniqueItems(Boolean uniqueItems);
// MaxProperties
Integer getMaxProperties();
Integer getMaxProperties(boolean elaborate);
void setMaxProperties(Integer maxProperties);
// MinProperties
Integer getMinProperties();
Integer getMinProperties(boolean elaborate);
void setMinProperties(Integer minProperties);
// RequiredField
Collection getRequiredFields();
Collection getRequiredFields(boolean elaborate);
boolean hasRequiredFields();
String getRequiredField(int index);
void setRequiredFields(Collection requiredFields);
void setRequiredField(int index, String requiredField);
void addRequiredField(String requiredField);
void insertRequiredField(int index, String requiredField);
void removeRequiredField(int index);
// Enum
Collection
© 2015 - 2025 Weber Informatics LLC | Privacy Policy