Skip to content

Commit

Permalink
server: api: Update swagger doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ish-hcc committed Aug 29, 2024
1 parent 46f7367 commit 70e9553
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions server/pkg/api/rest/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const docTemplate = `{
},
"/honeybee/bench/{connId}/run": {
"get": {
"description": "Run the benchmark information of the connection information.",
"description": "Run the benchmark information of the connection information. If no Benchmark Agent is present on the connected server, it will be automatically installed, and the benchmark will be executed.",
"consumes": [
"application/json"
],
Expand Down Expand Up @@ -467,7 +467,7 @@ const docTemplate = `{
},
"/honeybee/source_group/{sgId}/agent_check": {
"get": {
"description": "Check Agent in source group. Show each status by returning agent info list.",
"description": "Check Agent in source group. Show each status by returning agent info list. If no Agent is present on the connected server, the Agent will be automatically installed.",
"consumes": [
"application/json"
],
Expand Down
4 changes: 2 additions & 2 deletions server/pkg/api/rest/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
},
"/honeybee/bench/{connId}/run": {
"get": {
"description": "Run the benchmark information of the connection information.",
"description": "Run the benchmark information of the connection information. If no Benchmark Agent is present on the connected server, it will be automatically installed, and the benchmark will be executed.",
"consumes": [
"application/json"
],
Expand Down Expand Up @@ -456,7 +456,7 @@
},
"/honeybee/source_group/{sgId}/agent_check": {
"get": {
"description": "Check Agent in source group. Show each status by returning agent info list.",
"description": "Check Agent in source group. Show each status by returning agent info list. If no Agent is present on the connected server, the Agent will be automatically installed.",
"consumes": [
"application/json"
],
Expand Down
7 changes: 5 additions & 2 deletions server/pkg/api/rest/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,9 @@ paths:
get:
consumes:
- application/json
description: Run the benchmark information of the connection information.
description: Run the benchmark information of the connection information. If
no Benchmark Agent is present on the connected server, it will be automatically
installed, and the benchmark will be executed.
parameters:
- description: ID of the connection info
in: path
Expand Down Expand Up @@ -1185,7 +1187,8 @@ paths:
consumes:
- application/json
description: Check Agent in source group. Show each status by returning agent
info list.
info list. If no Agent is present on the connected server, the Agent will
be automatically installed.
parameters:
- description: ID of the SourceGroup
in: path
Expand Down

0 comments on commit 70e9553

Please sign in to comment.