carbond.OperationParameter¶
Describes an HTTP parameter. Parameter types include: path parameters (e.g., “_id” in “/foo/bar/:_id”), query parameters (e.g., “baz” in “/foo/bar?baz=true”), HTTP header parameters, and HTTP body parameters.
Instance Properties¶
- ¶
default *Default undefined Description A default value for the parameter if it is not present in the incoming request
- ¶
description stringDefault undefined Description A brief description of this parameter This will be displayed in any generated documentation.
- ¶
location stringRequired Description The location of the parameter in an incoming request [choices: “query”, “header”, “path”, “body]
- ¶
name string(read-only)Description The operation parameter name
- ¶
required booleanDefault false Description Flag determining whether the parameter is required
- ¶
schema ObjectDefault undefined Description A JSON schema used to validate the incoming parameter