method IOpenApiService.getSpec IOpenApiService.getSpec(): Readonly<Record<string, unknown>> Returns the generated OpenAPI 3.1 document. Builds the spec lazily on first call and caches it for subsequent calls. Return Type Readonly<Record<string, unknown>> The complete OpenAPI document as a readonly record