Package io.muserver.openapi
Class ResponsesObject
- java.lang.Object
-
- io.muserver.openapi.ResponsesObject
-
public class ResponsesObject extends java.lang.Object
- See Also:
ResponsesObjectBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseObject
defaultValue()
java.util.Map<java.lang.String,ResponseObject>
httpStatusCodes()
void
writeJson(java.io.Writer writer)
-
-
-
Method Detail
-
writeJson
public void writeJson(java.io.Writer writer) throws java.io.IOException
- Throws:
java.io.IOException
-
defaultValue
public ResponseObject defaultValue()
- Returns:
- the value described by
ResponsesObjectBuilder.withDefaultValue(io.muserver.openapi.ResponseObject)
-
httpStatusCodes
public java.util.Map<java.lang.String,ResponseObject> httpStatusCodes()
- Returns:
- the value described by
ResponsesObjectBuilder.withHttpStatusCodes(java.util.Map<java.lang.String, io.muserver.openapi.ResponseObject>)
-
-