应用与数据集成平台 ROMA CONNECT-附录:API的Swagger扩展定义:6.3:x-apigateway-backend.httpVpcEndpoints

时间:2024-06-25 14:09:33

6.3:x-apigateway-backend.httpVpcEndpoints

含义:ROMA Connect定义的HTTP VPC类型后端服务定义。

作用域x-apigateway-backend

示例

paths:
  '/users/{userId}':
    get:
      produces:
        - "application/json"
      parameters:
        - name: "X-Auth-Token"
          description: "authorization token"
          type: "string"
          in: "header"
          required: true
      responses:
        default:
          description: "default response"
      x-apigateway-request-type: "public"
      x-apigateway-backend:
        type: "HTTP-VPC"
        httpVpcEndpoints:
          name: "vpc-test-1"
          scheme: "http"
          method: "GET"
          path: "/users"
          timeout: 30000
support.huaweicloud.com/usermanual-roma/roma_03_2135.html