scaler added and confirmed builds work

This commit is contained in:
2025-12-13 12:07:34 -06:00
parent c3b2acd033
commit 3bcc6f89b3
7 changed files with 161 additions and 51 deletions

View File

@@ -0,0 +1,37 @@
import type { OpenAPIV3_1 } from "openapi-types";
export const healthSpec: OpenAPIV3_1.PathsObject = {
"/": {
get: {
summary: "Health check",
description: "Check if the API is running",
//tags: ["Health"],
responses: {
"200": {
description: "API is healthy",
content: {
"application/json": {
schema: {
type: "object",
properties: {
success: {
type: "boolean",
example: true,
},
message: {
type: "string",
example: "LST v3 is running",
},
timestamp: {
type: "string",
format: "date-time",
},
},
},
},
},
},
},
},
},
};