com.networknt.oas.model.Response 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 Response extends IJsonOverlay, IModelPart {
String getName();
// Description
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
String getDescription();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setDescription(String description);
// Header
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Map getHeaders();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Map getHeaders(boolean elaborate);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
boolean hasHeaders();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
boolean hasHeader(String name);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Header getHeader(String name);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setHeaders(Map headers);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setHeader(String name, Header header);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void removeHeader(String name);
// ContentMediaType
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Map getContentMediaTypes();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Map getContentMediaTypes(boolean elaborate);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
boolean hasContentMediaTypes();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
boolean hasContentMediaType(String name);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
MediaType getContentMediaType(String name);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setContentMediaTypes(Map contentMediaTypes);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setContentMediaType(String name, MediaType contentMediaType);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void removeContentMediaType(String name);
// Link
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Map getLinks();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Map getLinks(boolean elaborate);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
boolean hasLinks();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
boolean hasLink(String name);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Link getLink(String name);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setLinks(Map links);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setLink(String name, Link link);
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void removeLink(String name);
// 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