fix: 更新用户服务的poa api 文档
author刘洪青 <loie.engine@gmail.com>
Mon, 19 Oct 2020 12:00:04 +0000 (20:00 +0800)
committer刘洪青 <loie.engine@gmail.com>
Wed, 21 Oct 2020 08:19:01 +0000 (16:19 +0800)
poa-api-docs/api-docs/user-data-service-poa.v1.yaml

index c59e26d..1d7f77e 100644 (file)
@@ -1,16 +1,17 @@
 # user-data-service-poa.v1.yaml
 #
 # 1. 创建服务
-# curl -i -s -X POST 'https://poa-sa.dev.supwisdom.com/v1/services' -H 'Content-Type: application/json' -d '{"id": "user", "origin": "http://user-data-service-poa-svc.user-data-service.svc.cluster.local:8080", "name": "用户服务", "description": "用户服务"}'
+# curl -i -s -X POST 'https://poa-sa.supwisdom.com/v1/services' -H 'Content-Type: application/json' -d '{"id": "user", "origin": "https://user-api.supwisdom.com", "name": "用户服务", "description": "用户服务"}'
+# http://user-data-service-poa-svc.user-data-service.svc.cluster.local:8080
 #
 # 2. 创建版本
-# curl -i -s -X POST 'https://poa-sa.dev.supwisdom.com/v1/services/user/apiVersions/v1'
+# curl -i -s -X POST 'https://poa-sa.supwisdom.com/v1/services/user/apiVersions/v1'
 #
 # 3. 上传OAS Yaml
-# curl -i -s -X POST 'https://poa-sa.dev.supwisdom.com/v1/services/user/apiVersions/v1/apiSpecs' -H 'Content-Type: application/yaml' --data-binary @user-data-service-poa.v1.yaml
+# curl -i -s -X POST 'https://poa-sa.supwisdom.com/v1/services/user/apiVersions/v1/apiSpecs' -H 'Content-Type: application/yaml' -d 'yaml content'
 #
 # 4. 发布版本
-# curl -i -s -X POST 'https://poa-sa.dev.supwisdom.com/v1/services/user/apiVersions/v1/publish'
+# curl -i -s -X POST 'https://poa-sa.supwisdom.com/v1/services/user/apiVersions/v1/publish'
 #
 openapi: 3.0.2
 info:
@@ -19,7 +20,7 @@ info:
Content-type: text/html Supwisdom Source - institute/deploy-authx-service.git/commitdiff


500 - Internal Server Error

Unknown encoding 'gb18030' at /usr/local/share/gitweb/gitweb.cgi line 1539