Skip to content

Commit

Permalink
fix(api-spec): add missing 404 responses in docs (#1124)
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3rw3rk authored May 8, 2024
1 parent 76400eb commit 8a744e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/dashboard/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ import (
// description: Unauthorized to delete dashboard
// schema:
// "$ref": "#/definitions/Error"
// '404':
// description: Unable to find dashboard
// schema:
// "$ref": "#/definitions/Error"
// '500':
// description: Server error when deleting dashboard
// schema:
Expand Down
4 changes: 4 additions & 0 deletions api/dashboard/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ import (
// description: Unauthorized to retrieve dashboard
// schema:
// "$ref": "#/definitions/Error"
// '404':
// description: Unable to find dashboard
// schema:
// "$ref": "#/definitions/Error"
// '500':
// description: Server error when retrieving dashboard
// schema:
Expand Down

0 comments on commit 8a744e4

Please sign in to comment.