{ "openapi": "3.0.0", "paths": { "/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" } } } } } } } } } } }, "/pdf/test": { "get": { "operationId": "PdfController_saveUrlToPdfInS3", "parameters": [], "responses": { "200": { "description": "" } } } }, "/pdf": { "get": { "operationId": "PdfController_url", "parameters": [ { "name": "url", "required": true, "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "" } } }, "post": { "operationId": "PdfController_operation", "parameters": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/OperationDto" } } } }, "responses": { "201": { "description": "" } } } } }, "info": { "title": "@galaxyops/html-to-pdf", "description": "Your Go-To Solution for PDF Generation from HTML.", "version": "1.0.19", "contact": {} }, "tags": [], "servers": [ { "url": "http://localhost:3000", "description": "Local" }, { "url": "https://ahmasn0q65.execute-api.us-east-1.amazonaws.com/prod/", "description": "Sandbox" } ], "components": { "schemas": { "OperationDto": { "type": "object", "properties": { "input": { "type": "string", "description": "input format", "default": "HTML", "enum": ["DATA", "PDF", "JSON", "S3"] }, "output": { "type": "string", "description": "output format", "default": "PDF", "enum": ["DATA", "PDF", "JSON", "S3"] }, "url": { "type": "string", "description": "url", "default": "https://google.com" }, "content": { "type": "string", "description": "HTML", "default": "