The following are two example URIs and their component parts:
foo://example.com:8042/over/there?name=ferret#nose
\_/ \______________/\_________/ \_________/ \__/
| | | | |
scheme authority path query fragment
| _____________________|__
/ \ / \
urn:example:animal:ferret:nose....
query = *( pchar / "/" / "?" )
If in is "body":
| Field Name | Type | Description |
|---|---|---|
| schema | Schema Object | Required. The schema defining the type used for the body parameter. |
If in is any value other than "body":
| Field Name | Type | Description |
|---|---|---|
| type | string | Required. The type of the parameter. Since the parameter is not located at the request body, it is limited to simple types (that is, not an object). The value MUST be one of "string", "number", "integer", "boolean", "array" or "file". Iftype is "file", the consumes MUST be either "multipart/form-data" or " application/x-www-form-urlencoded" and the parameter MUST be in"formData". |