Skip to content

Commit

Permalink
update swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
Pespiri committed Dec 11, 2023
1 parent 33a4171 commit 2d6b1ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion api/environments/environment_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,9 @@ func (c *environmentController) GetEnvironmentEvents(accounts models.Accounts, w
// "200":
// description: "Successful get environment events"
// schema:
// "$ref": "#/definitions/Event"
// type: "array"
// items:
// "$ref": "#/definitions/Event"
// "401":
// description: "Unauthorized"
// "404":
Expand Down
5 changes: 4 additions & 1 deletion swaggerui_src/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2488,7 +2488,10 @@
"200": {
"description": "Successful get environment events",
"schema": {
"$ref": "#/definitions/Event"
"type": "array",
"items": {
"$ref": "#/definitions/Event"
}
}
},
"401": {
Expand Down

0 comments on commit 2d6b1ce

Please sign in to comment.