carbond.OperationResponse

Describes what an HTTP response should look like along with some metadata to be used when generating static documentation

Instance Properties

description
string
Required
Description A brief description of the response that will be included generated static documentation
schema
Object
Required
Description A valid JSON schema that describes HTTP response body. This will be used to validate responses returned by operations.
statusCode
number
Default 200
Description The status code for a response