You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/01/10 06:23:21 UTC

[GitHub] [apisix] Drery commented on a change in pull request #5940: feat: mocking plugin

Drery commented on a change in pull request #5940:
URL: https://github.com/apache/apisix/pull/5940#discussion_r780914436



##########
File path: docs/zh/latest/plugins/mocking.md
##########
@@ -43,7 +43,8 @@ Mock API插件,绑定该插件后将随机返回指定格式的mock数据,
 | content_type    | string | 可选  |        |                                                                 | 返回的响应头的Content-Type。                                            |
 | response_example| string | 可选  |        |                                                                 | 返回的响应体,与response_schema二选一。                                            |
 | response_schema | object | 可选  |        |                                                                 | 指定响应的json schema对象,未指定response_body时生效,具体结构看后文说明。                                            |
-支持的字段类型:string,number,integer,boolean,object,array。
+
+支持的字段类型:`string`, `number`, `integer`, `boolean`, `object,array`

Review comment:
       emm,should be `object`,`array`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org