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, setVendorExtensions
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAccess, getDescription, getIn, getName, getPattern, getRequired, getVendorExtensions, isReadOnly, setAccess, setDescription, setIn, setName, setPattern, setReadOnly, setRequired
public 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 AbstractParameter
public boolean equals(Object obj)
equals
in class AbstractParameter
Copyright © 2019. All Rights Reserved.