UNPKG

@sigiljs-community/openapi-plugin

Version:

Plugin for SigilJS framework, that automatically derives an OpenAPI JSON spec from your routes and serves it at a configurable endpoint

13 lines (12 loc) 307 B
export interface ExportedRouteDetails { method: string; path: string; schema: Partial<{ body: Record<string, any>; headers: Record<string, any>; query: Record<string, any>; params: Record<string, any>; }>; tags: string[]; meta: Record<string, any>; }