spacewander commented on a change in pull request #6489:
URL: https://github.com/apache/apisix/pull/6489#discussion_r818237537
##########
File path: docs/zh/latest/admin-api.md
##########
@@ -330,15 +330,15 @@ HTTP/1.1 200 OK
service 对象 json 配置内容:
-```json
+```shell
{
- "id": "1", # id
- "plugins": {}, # 指定 service 绑定的插件
- "upstream_id": "1", # upstream 对象在 etcd 中的 id ,建议使用此值
- "upstream": {}, # upstream 信息对象,不建议使用
- "name": "测试svc", # service 名称
- "desc": "hello world", # service 描述
- "enable_websocket": true, #启动 websocket 功能
+ "id": "1", # id
+ "plugins": {}, # 指定 service 绑定的插件
+ "upstream_id": "1", # upstream 对象在 etcd 中的 id ,建议使用此值
+ "upstream": {}, # upstream 信息对象,不建议使用
+ "name": "测试svc", # service 名称
Review comment:
bad indent
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]