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
package com.networknt.oas.model;
import java.util.Map;
public interface RequestBody extends OpenApiObject {
// Description
String getDescription();
String getDescription(boolean elaborate);
void setDescription(String description);
// ContentMediaType
Map getContentMediaTypes();
Map getContentMediaTypes(boolean elaborate);
boolean hasContentMediaType(String name);
MediaType getContentMediaType(String name);
void setContentMediaTypes(Map contentMediaTypes);
void setContentMediaType(String name, MediaType contentMediaType);
void removeContentMediaType(String name);
// Required
Boolean getRequired();
Boolean getRequired(boolean elaborate);
boolean isRequired();
void setRequired(Boolean required);
// Extension
Map getExtensions();
Map getExtensions(boolean elaborate);
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