Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore:add request body #1784

Merged
merged 1 commit into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sqle/api/controller/v1/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -1398,6 +1398,7 @@ func UpdateFeishuAuditConfigurationV1(c echo.Context) error {
// @Id testFeishuAuditConfigV1
// @Tags configuration
// @Security ApiKeyAuth
// @Param req body v1.TestFeishuConfigurationReqV1 true "test feishu configuration req"
// @Success 200 {object} v1.TestFeishuConfigResV1
// @router /v1/configurations/feishu_audit/test [post]
func TestFeishuAuditConfigV1(c echo.Context) error {
Expand Down
11 changes: 11 additions & 0 deletions sqle/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,17 @@ var doc = `{
],
"summary": "测试飞书审批配置",
"operationId": "testFeishuAuditConfigV1",
"parameters": [
{
"description": "test feishu configuration req",
"name": "req",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/v1.TestFeishuConfigurationReqV1"
}
}
],
"responses": {
"200": {
"description": "OK",
Expand Down
11 changes: 11 additions & 0 deletions sqle/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,17 @@
],
"summary": "测试飞书审批配置",
"operationId": "testFeishuAuditConfigV1",
"parameters": [
{
"description": "test feishu configuration req",
"name": "req",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/v1.TestFeishuConfigurationReqV1"
}
}
],
"responses": {
"200": {
"description": "OK",
Expand Down
7 changes: 7 additions & 0 deletions sqle/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4931,6 +4931,13 @@ paths:
- application/json
description: test feishu audit configuration
operationId: testFeishuAuditConfigV1
parameters:
- description: test feishu configuration req
in: body
name: req
required: true
schema:
$ref: '#/definitions/v1.TestFeishuConfigurationReqV1'
responses:
"200":
description: OK
Expand Down
Loading