x-apigateway-any-method¶
Meaning: API request method used by default if no HTTP request method is specified.
Scope of effect: Path Item Object (2.0)/Path Item Object (3.0)
Example:
paths:
'/path':
get:
produces:
- application/json
responses:
"200":
description: "get response"
x-apigateway-any-method:
produces:
- application/json
responses:
"200":
description: "any response"
Parameter | Mandatory | Type | Description |
---|---|---|---|
x-apigateway-any-method | No | String | Request method. |