com.networknt.oas.model.Example 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.Map;
import javax.annotation.Generated;
import com.networknt.jsonoverlay.IJsonOverlay;
import com.networknt.jsonoverlay.IModelPart;
public interface Example extends IJsonOverlay, IModelPart {
String getName();
// Summary
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
String getSummary();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setSummary(String summary);
// Description
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
String getDescription();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setDescription(String description);
// Value
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Object getValue();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setValue(Object value);
// ExternalValue
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
String getExternalValue();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setExternalValue(String externalValue);
// Extension
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Map getExtensions();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Map getExtensions(boolean elaborate);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
boolean hasExtensions();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
boolean hasExtension(String name);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Object getExtension(String name);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setExtensions(Map extensions);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setExtension(String name, Object extension);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void removeExtension(String name);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy