Skip to content

Commit

Permalink
chore: update swag docs
Browse files Browse the repository at this point in the history
  • Loading branch information
BugsGuru committed Jul 11, 2024
1 parent f305079 commit 971f7b3
Show file tree
Hide file tree
Showing 3 changed files with 164 additions and 0 deletions.
62 changes: 62 additions & 0 deletions sqle/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -7040,6 +7040,38 @@ var doc = `{
}
}
},
"/v1/workflows_info_of_instances": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "Get Unfinished Workflows Count Of Instances",
"tags": [
"workflow"
],
"summary": "获取实例上未完成的工单数量",
"operationId": "GetUnfinishedWorkflowsCountOfInstances",
"parameters": [
{
"type": "string",
"description": "instance id",
"name": "instance_id",
"in": "query",
"required": true
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/v1.GetUnfinishedWorkflowsCountOfInstancesResV1"
}
}
}
}
},
"/v2/audit_files": {
"post": {
"security": [
Expand Down Expand Up @@ -10838,6 +10870,25 @@ var doc = `{
}
}
},
"v1.GetUnfinishedWorkflowsCountOfInstancesResV1": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"example": 0
},
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/v1.UnfinishedWorkflowsCountV1"
}
},
"message": {
"type": "string",
"example": "ok"
}
}
},
"v1.GetUserTipsResV1": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -12788,6 +12839,17 @@ var doc = `{
}
}
},
"v1.UnfinishedWorkflowsCountV1": {
"type": "object",
"properties": {
"instance_id": {
"type": "integer"
},
"unfinished_count": {
"type": "integer"
}
}
},
"v1.UpdateAuditPlanNotifyConfigReqV1": {
"type": "object",
"properties": {
Expand Down
62 changes: 62 additions & 0 deletions sqle/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -7024,6 +7024,38 @@
}
}
},
"/v1/workflows_info_of_instances": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "Get Unfinished Workflows Count Of Instances",
"tags": [
"workflow"
],
"summary": "获取实例上未完成的工单数量",
"operationId": "GetUnfinishedWorkflowsCountOfInstances",
"parameters": [
{
"type": "string",
"description": "instance id",
"name": "instance_id",
"in": "query",
"required": true
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/v1.GetUnfinishedWorkflowsCountOfInstancesResV1"
}
}
}
}
},
"/v2/audit_files": {
"post": {
"security": [
Expand Down Expand Up @@ -10822,6 +10854,25 @@
}
}
},
"v1.GetUnfinishedWorkflowsCountOfInstancesResV1": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"example": 0
},
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/v1.UnfinishedWorkflowsCountV1"
}
},
"message": {
"type": "string",
"example": "ok"
}
}
},
"v1.GetUserTipsResV1": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -12772,6 +12823,17 @@
}
}
},
"v1.UnfinishedWorkflowsCountV1": {
"type": "object",
"properties": {
"instance_id": {
"type": "integer"
},
"unfinished_count": {
"type": "integer"
}
}
},
"v1.UpdateAuditPlanNotifyConfigReqV1": {
"type": "object",
"properties": {
Expand Down
40 changes: 40 additions & 0 deletions sqle/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1700,6 +1700,19 @@ definitions:
example: ok
type: string
type: object
v1.GetUnfinishedWorkflowsCountOfInstancesResV1:
properties:
code:
example: 0
type: integer
data:
items:
$ref: '#/definitions/v1.UnfinishedWorkflowsCountV1'
type: array
message:
example: ok
type: string
type: object
v1.GetUserTipsResV1:
properties:
code:
Expand Down Expand Up @@ -3014,6 +3027,13 @@ definitions:
example: ok
type: string
type: object
v1.UnfinishedWorkflowsCountV1:
properties:
instance_id:
type: integer
unfinished_count:
type: integer
type: object
v1.UpdateAuditPlanNotifyConfigReqV1:
properties:
enable_email_notify:
Expand Down Expand Up @@ -8861,6 +8881,26 @@ paths:
summary: 获取全局工单列表
tags:
- workflow
/v1/workflows_info_of_instances:
get:
description: Get Unfinished Workflows Count Of Instances
operationId: GetUnfinishedWorkflowsCountOfInstances
parameters:
- description: instance id
in: query
name: instance_id
required: true
type: string
responses:
"200":
description: OK
schema:
$ref: '#/definitions/v1.GetUnfinishedWorkflowsCountOfInstancesResV1'
security:
- ApiKeyAuth: []
summary: 获取实例上未完成的工单数量
tags:
- workflow
/v2/audit_files:
post:
description: Direct audit sql from SQL files and MyBatis files
Expand Down

0 comments on commit 971f7b3

Please sign in to comment.