
# x-apigateway-backend.mockEndpoints
**含义**：API网关定义的MOCK类型API后端服务定义。
**作用域** ：[x-apigateway-backend](https://support.huaweicloud.com/usermanual-apig/apig_03_0090.html)
**示例**：
```
paths:
  '/users/{userId}':
    get:
      produces:
        - "application/json"
      parameters:
        - name: "X-Auth-Token"
          description: "认证token"
          type: "string"
          in: "header"
          required: true
      responses:
        default:
          description: "default response"
      x-apigateway-request-type: "public"
      x-apigateway-backend:
        type: "MOCK"
        mockEndpoints:
          result-content: "mocked"
```
表1参数说明 
| 参数             | 是否必选 | 类型     | 说明        |
|:---|:---|:---|:---|
| result-content | 是    | String | MOCK返回结果。 |
   
