public class BodyParameter extends AbstractParameter implements Parameter
access, description, in, name, pattern, readOnly, required| Constructor and Description |
|---|
BodyParameter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExample(String mediaType,
String value) |
BodyParameter |
description(String description) |
boolean |
equals(Object obj) |
BodyParameter |
example(String mediaType,
String value) |
Map<String,String> |
getExamples() |
Model |
getSchema() |
int |
hashCode() |
BodyParameter |
name(String name) |
BodyParameter |
schema(Model schema) |
void |
setExamples(Map<String,String> examples) |
void |
setSchema(Model schema) |
getAccess, getDescription, getIn, getName, getPattern, getRequired, getVendorExtensions, isReadOnly, setAccess, setDescription, setIn, setName, setPattern, setReadOnly, setRequired, setVendorExtension, setVendorExtensionsclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAccess, getDescription, getIn, getName, getPattern, getRequired, getVendorExtensions, isReadOnly, setAccess, setDescription, setIn, setName, setPattern, setReadOnly, setRequiredpublic BodyParameter schema(Model schema)
public BodyParameter example(String mediaType, String value)
public BodyParameter description(String description)
public BodyParameter name(String name)
public Model getSchema()
public void setSchema(Model schema)
public int hashCode()
hashCode in class AbstractParameterpublic boolean equals(Object obj)
equals in class AbstractParameterCopyright © 2019. All Rights Reserved.