public class RequestBodyObject extends Object
RequestBodyObjectBuilder
Modifier and Type | Field and Description |
---|---|
Map<String,MediaTypeObject> |
content
Deprecated.
use
content() instead |
String |
description
Deprecated.
use
description() instead |
boolean |
required
Deprecated.
use
required() instead |
Modifier and Type | Method and Description |
---|---|
Map<String,MediaTypeObject> |
content() |
String |
description() |
boolean |
required() |
void |
writeJson(Writer writer)
Writes this object as a JSON Object
|
@Deprecated public final String description
description()
instead@Deprecated public final Map<String,MediaTypeObject> content
content()
instead@Deprecated public final boolean required
required()
insteadpublic void writeJson(Writer writer) throws IOException
writer
- The writer to write toIOException
- Thrown if the writer throws this while writingpublic String description()
RequestBodyObjectBuilder.withDescription(java.lang.String)
public Map<String,MediaTypeObject> content()
RequestBodyObjectBuilder.withContent(java.util.Map<java.lang.String, io.muserver.openapi.MediaTypeObject>)
public boolean required()
RequestBodyObjectBuilder.withRequired(boolean)
Copyright © 2017–2021. All rights reserved.