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

时间:2025-02-12 15:03:18

6.2:x-apigateway-backend.httpEndpoints

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

作用域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"        httpEndpoints:          address: "www.example.com"          scheme: "http"          method: "GET"          path: "/users"          retryCount: "3"          timeout: 30000
support.huaweicloud.com/usermanual-roma/apic-ug-190216027.html