generated from SidingsMedia/service-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to JSON for health checks (#3)
Switch to JSON for health checks to unify all endpoints on JSON Signed-off-by: Matthew <[email protected]>
- Loading branch information
1 parent
be244ca
commit abb03f4
Showing
5 changed files
with
8 additions
and
17 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
# SPDX-FileCopyrightText: 2024 Sidings Media | ||
# SPDX-License-Identifier: MIT | ||
|
||
description: Service is healthy | ||
description: Health Check is OK | ||
content: | ||
text/plain: | ||
application/json: | ||
schema: | ||
type: string | ||
$ref: ../schemas/GeneralError.yaml | ||
example: | ||
healthy | ||
code: 200 | ||
message: OK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters