feat: 认证授权的poa-api-docs 更新
diff --git a/poa-api-docs/exec.sh b/poa-api-docs/exec.sh
index 08e131a..7f6cfaf 100644
--- a/poa-api-docs/exec.sh
+++ b/poa-api-docs/exec.sh
@@ -40,6 +40,23 @@
curl -i -s -X POST "${POA_SA_SERVER_URL}/v1/services/user/apiVersions/v1/publish"
+# user-data-service-thirdparty-poa.v1.yaml
+
+curl -i -s -X DELETE "${POA_SA_SERVER_URL}/v1/services/userThirdparty"
+
+# 1. 创建服务
+curl -i -s -X POST "${POA_SA_SERVER_URL}/v1/services" -H 'Content-Type: application/json' -d "{\"id\": \"userThirdparty\", \"origin\": \"${USER_API_SERVER_URL}\", \"name\": \"用户服务(第三方应用)\", \"description\": \"用户服务(第三方应用)\"}"
+
+# 2. 创建版本
+curl -i -s -X POST "${POA_SA_SERVER_URL}/v1/services/userThirdparty/apiVersions/v1"
+
+# 3. 上传OAS Yaml
+curl -i -s -X POST "${POA_SA_SERVER_URL}/v1/services/userThirdparty/apiVersions/v1/apiSpecs" -H 'Content-Type: application/yaml' --data-binary @user-data-service-thirdparty-poa.v1.yaml
+
+# 4. 发布版本
+curl -i -s -X POST "${POA_SA_SERVER_URL}/v1/services/userThirdparty/apiVersions/v1/publish"
+
+
# user-authorization-service-poa.v1.yaml
curl -i -s -X DELETE "${POA_SA_SERVER_URL}/v1/services/authz"