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
/*******************************************************************************
* Copyright (c) 2017 ModelSolv, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* ModelSolv, Inc. - initial API and implementation and/or initial documentation
*******************************************************************************/
package com.networknt.oas.model;
import java.util.List;
import java.util.Map;
import javax.annotation.Generated;
import com.networknt.jsonoverlay.IJsonOverlay;
import com.networknt.jsonoverlay.IModelPart;
public interface Schema extends IJsonOverlay, IModelPart {
String getName();
// Title
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
String getTitle();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setTitle(String title);
// MultipleOf
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Number getMultipleOf();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setMultipleOf(Number multipleOf);
// Maximum
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Number getMaximum();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setMaximum(Number maximum);
// ExclusiveMaximum
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Boolean getExclusiveMaximum();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
boolean isExclusiveMaximum();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setExclusiveMaximum(Boolean exclusiveMaximum);
// Minimum
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Number getMinimum();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setMinimum(Number minimum);
// ExclusiveMinimum
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Boolean getExclusiveMinimum();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
boolean isExclusiveMinimum();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setExclusiveMinimum(Boolean exclusiveMinimum);
// MaxLength
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Integer getMaxLength();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setMaxLength(Integer maxLength);
// MinLength
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Integer getMinLength();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setMinLength(Integer minLength);
// Pattern
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
String getPattern();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setPattern(String pattern);
// MaxItems
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Integer getMaxItems();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setMaxItems(Integer maxItems);
// MinItems
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Integer getMinItems();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setMinItems(Integer minItems);
// UniqueItems
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Boolean getUniqueItems();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
boolean isUniqueItems();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setUniqueItems(Boolean uniqueItems);
// MaxProperties
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Integer getMaxProperties();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setMaxProperties(Integer maxProperties);
// MinProperties
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Integer getMinProperties();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setMinProperties(Integer minProperties);
// RequiredField
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
List getRequiredFields();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
List getRequiredFields(boolean elaborate);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
boolean hasRequiredFields();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
String getRequiredField(int index);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setRequiredFields(List requiredFields);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setRequiredField(int index, String requiredField);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void addRequiredField(String requiredField);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void insertRequiredField(int index, String requiredField);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void removeRequiredField(int index);
// Enum
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy