{ "openapi": "3.0.0", "paths": { "/": { "get": { "operationId": "RouterController_getRoutes", "parameters": [], "responses": { "200": { "description": "" } } } }, "/debug": { "get": { "operationId": "RouterController_getConfig", "parameters": [], "responses": { "200": { "description": "" } } } }, "/*": { "get": { "operationId": "RouterController_getRoute", "parameters": [], "responses": { "200": { "description": "" } } }, "post": { "operationId": "RouterController_postRoute", "parameters": [], "responses": { "201": { "description": "" } } }, "put": { "operationId": "RouterController_putRoute", "parameters": [], "responses": { "200": { "description": "" } } }, "delete": { "operationId": "RouterController_deleteRoute", "parameters": [], "responses": { "200": { "description": "" } } }, "patch": { "operationId": "RouterController_patchRoute", "parameters": [], "responses": { "200": { "description": "" } } } }, "/health": { "get": { "operationId": "HealthController_check", "parameters": [], "responses": { "200": { "description": "The Health Check is successful", "content": { "application/json": { "schema": { "type": "object", "properties": { "status": { "type": "string", "example": "ok" }, "info": { "type": "object", "example": { "database": { "status": "up" } }, "additionalProperties": { "type": "object", "properties": { "status": { "type": "string" } }, "additionalProperties": { "type": "string" } }, "nullable": true }, "error": { "type": "object", "example": {}, "additionalProperties": { "type": "object", "properties": { "status": { "type": "string" } }, "additionalProperties": { "type": "string" } }, "nullable": true }, "details": { "type": "object", "example": { "database": { "status": "up" } }, "additionalProperties": { "type": "object", "properties": { "status": { "type": "string" } }, "additionalProperties": { "type": "string" } } } } } } } }, "503": { "description": "The Health Check is not successful", "content": { "application/json": { "schema": { "type": "object", "properties": { "status": { "type": "string", "example": "error" }, "info": { "type": "object", "example": { "database": { "status": "up" } }, "additionalProperties": { "type": "object", "properties": { "status": { "type": "string" } }, "additionalProperties": { "type": "string" } }, "nullable": true }, "error": { "type": "object", "example": { "redis": { "status": "down", "message": "Could not connect" } }, "additionalProperties": { "type": "object", "properties": { "status": { "type": "string" } }, "additionalProperties": { "type": "string" } }, "nullable": true }, "details": { "type": "object", "example": { "database": { "status": "up" }, "redis": { "status": "down", "message": "Could not connect" } }, "additionalProperties": { "type": "object", "properties": { "status": { "type": "string" } }, "additionalProperties": { "type": "string" } } } } } } } } } } } }, "info": { "title": "@galaxyops/api", "description": "routes request to other endpoints", "version": "0.1.2", "contact": {} }, "tags": [], "servers": [ { "url": "http://localhost:3000", "description": "Localhost" }, { "url": "https://api.sandbox.nekosgate.com/", "description": "Sandbox" } ], "components": { "securitySchemes": { "lambda": { "type": "apiKey", "in": "header", "name": "x-lambda-token", "description": "The API key for lambda request." } }, "schemas": {} } }