UNPKG

@apvee/azure-functions-openapi

Version:

An extension for Azure Functions V4 that provides support for exporting OpenAPI spec files from annotated Azure Functions.

13 lines (12 loc) 485 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.registry = void 0; const zod_to_openapi_1 = require("@asteasolutions/zod-to-openapi"); /** * A singleton instance of the OpenAPIRegistry. * * This registry is used to manage and store OpenAPI definitions * for the application. It provides methods to register and retrieve * OpenAPI components such as schemas, paths, and responses. */ exports.registry = new zod_to_openapi_1.OpenAPIRegistry();