com.networknt.oas.model.RequestBody 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 RequestBody extends IJsonOverlay, IModelPart {
String getName();
// Description
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
String getDescription();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setDescription(String description);
// 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);
// Required
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
Boolean getRequired();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
boolean isRequired();
@Generated("com.reprezen.jsonoverlay.gen.CodeGenerator")
void setRequired(Boolean required);
// 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