method OpenApiService.prototype.getSpec OpenApiService.prototype.getSpec(): Readonly<Record<string, unknown>> Returns the generated OpenAPI specification. Builds the spec lazily on first call and caches it for subsequent calls. Return Type Readonly<Record<string, unknown>> The complete OpenAPI document