public class ResponsesObject extends Object
ResponsesObjectBuilder
Modifier and Type | Field and Description |
---|---|
ResponseObject |
defaultValue
Deprecated.
use
defaultValue() instead |
Map<String,ResponseObject> |
httpStatusCodes
Deprecated.
use
httpStatusCodes() instead |
Modifier and Type | Method and Description |
---|---|
ResponseObject |
defaultValue() |
Map<String,ResponseObject> |
httpStatusCodes() |
void |
writeJson(Writer writer)
Writes this object as a JSON Object
|
@Deprecated public final ResponseObject defaultValue
defaultValue()
instead@Deprecated public final Map<String,ResponseObject> httpStatusCodes
httpStatusCodes()
insteadpublic void writeJson(Writer writer) throws IOException
writer
- The writer to write toIOException
- Thrown if the writer throws this while writingpublic ResponseObject defaultValue()
ResponsesObjectBuilder.withDefaultValue(io.muserver.openapi.ResponseObject)
public Map<String,ResponseObject> httpStatusCodes()
ResponsesObjectBuilder.withHttpStatusCodes(java.util.Map<java.lang.String, io.muserver.openapi.ResponseObject>)
Copyright © 2017–2021. All rights reserved.