com.networknt.oas.model.Server 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 com.networknt.jsonoverlay.IJsonOverlay;
import com.networknt.jsonoverlay.IModelPart;
public interface Server extends IJsonOverlay, IModelPart {
// Url
String getUrl();
void setUrl(String url);
// Description
String getDescription();
void setDescription(String description);
// ServerVariable
Map getServerVariables();
Map getServerVariables(boolean elaborate);
boolean hasServerVariables();
boolean hasServerVariable(String name);
ServerVariable getServerVariable(String name);
void setServerVariables(Map serverVariables);
void setServerVariable(String name, ServerVariable serverVariable);
void removeServerVariable(String name);
// VariablesExtension
Map getVariablesExtensions();
Map getVariablesExtensions(boolean elaborate);
boolean hasVariablesExtensions();
boolean hasVariablesExtension(String name);
Object getVariablesExtension(String name);
void setVariablesExtensions(Map variablesExtensions);
void setVariablesExtension(String name, Object variablesExtension);
void removeVariablesExtension(String name);
// Extension
Map getExtensions();
Map getExtensions(boolean elaborate);
boolean hasExtensions();
boolean hasExtension(String name);
Object getExtension(String name);
void setExtensions(Map extensions);
void setExtension(String name, Object extension);
void removeExtension(String name);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy