Updated on 2024-08-07 GMT+08:00

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"
Table 1 Parameter description

Parameter

Mandatory

Type

Description

x-apigateway-any-method

No

String

Request method.