API网关 APIG-x-apigateway-any-method

时间:2023-11-01 16:25:08

x-apigateway-any-method

含义:API网关定义的API请求方法,用以匹配未指定定义的HTTP方法。

作用域Path Item Object(2.0)

示例

paths:  '/path':    get:      produces:        - application/json      responses:        "200":          description: "get response"    x-apigateway-any-method:      produces:        - application/json      responses:        "200":          description: "any response"
表1 参数说明

参数

是否必选

类型

说明

x-apigateway-any-method

String

API请求方法

support.huaweicloud.com/devg-apig/apig_04_0005.html