ResponseCode
Summary
An operation response code.
Description
The response codes are the HTTP response codes defined in RFC-2616. Typically, a limited set are used for REST.
Fields
| Field Name | Type | Since Version | Description |
|---|---|---|---|
code |
Long | The response code | |
message |
String | The response message | |
schema |
SchemaObject | The response schema |
Example JSON
{
"code" : 404,
"message" : "Not Found",
"schema" : {
"id" : "",
"format" : "",
"$ref" : "#/definitions/User",
"type" : "string"
}
}