docs: 更新poa api-docs yaml
author刘洪青 <hongqing.liu@supwisdom.com>
Mon, 11 Jan 2021 15:54:40 +0000 (23:54 +0800)
committer刘洪青 <hongqing.liu@supwisdom.com>
Mon, 11 Jan 2021 15:54:40 +0000 (23:54 +0800)
poa-api-docs/api-docs/communicate-center-poa.v1.yaml
poa-api-docs/api-docs/user-authorization-service-poa.v1.yaml
poa-api-docs/api-docs/user-data-service-poa.v1.yaml
poa-api-docs/api-docs/user-data-service-thirdparty-poa.v1.yaml

index e554590..f66f09c 100644 (file)
@@ -147,6 +147,7 @@ components:
     
     ApiErrorResponse:
       title: '异常响应'
+      type: object
       required:
         - code
         - message
@@ -270,6 +271,7 @@ components:
 
     ApiDataResponse:
       title: 响应
+      type: object
       properties:
         code:
           title: 响应代码
index aa27cdf..2f0af3d 100644 (file)
@@ -166,7 +166,7 @@ paths:
           schema:
             type: string
         - name: groupType
-          in: path
+          in: query
           required: false
           description: 用户组类型(1 普通,2 岗位)
           schema:
@@ -333,6 +333,7 @@ components:
     
     ErrorResponse:
       title: '异常响应'
+      type: object
       required:
         - code
         - message
@@ -473,6 +474,7 @@ components:
 
     AbstractApiResponse:
       title: 响应
+      type: object
       properties:
         acknowleged:
           title: 响应结果(废弃,请使用code)
index 7029cc7..46ac746 100644 (file)
@@ -2085,6 +2085,7 @@ components:
     
     ErrorResponse:
       title: '异常响应'
+      type: object
       required:
         - code
         - message
@@ -2611,6 +2612,7 @@ components:
     # Request VO
     GroupOrganizationAccountSaveRequest:
       title: 请求
+      type: object
       properties:
         groupOrganizatonAccounts:
           title: 岗位组织机构帐号信息列表
@@ -2626,6 +2628,7 @@ components:
 
     AbstractApiResponse:
       title: 响应
+      type: object
       properties:
         acknowleged:
           title: 响应结果
index a491e6f..24b8889 100644 (file)
@@ -238,6 +238,7 @@ components:
     
     ErrorResponse:
       title: '异常响应'
+      type: object
       required:
         - code
         - message
@@ -370,6 +371,7 @@ components:
     # Request VO
     AdminAppGroupCreateRequest:
       title: 用户组(普通)创建请求
+      type: object
       properties:
         code:
           title: 代码
@@ -391,6 +393,7 @@ components:
 
     AdminAppGroupUpdateRequest:
       title: 用户组(普通)更新请求
+      type: object
       properties:
         code:
           title: 代码
@@ -412,6 +415,7 @@ components:
 
     AdminAppGroupRelateAccountsRequest:
       title: 用户组(普通)关联帐号请求
+      type: object
       properties:
         addAccountIds:
           title: 添加的帐号IDs
@@ -431,6 +435,7 @@ components:
 
     AbstractApiResponse:
       title: 响应
+      type: object
       properties:
         code:
           title: 响应代码