Skip to content

Commit

Permalink
feat: Add health error response (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentluce authored Sep 16, 2024
1 parent e831db5 commit d86eaa7
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 30 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions libs/cli-kontrol-api/api/golang/client/client.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

63 changes: 36 additions & 27 deletions libs/cli-kontrol-api/api/golang/server/server.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions libs/cli-kontrol-api/api/typescript/client/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface paths {
"application/json": string;
};
};
500: components["responses"]["Error"];
};
};
};
Expand Down
2 changes: 2 additions & 0 deletions libs/cli-kontrol-api/specs/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ paths:
description: For health check control
get:
responses:
"500":
$ref: "#/components/responses/Error"
"200":
description: Successful response
content:
Expand Down

0 comments on commit d86eaa7

Please sign in to comment.