* Ensure the spec is loaded before accessing it
()
| 260 | * Ensure the spec is loaded before accessing it |
| 261 | */ |
| 262 | private ensureLoaded(): void { |
| 263 | if (!this.spec) { |
| 264 | throw new Error( |
| 265 | 'OpenAPI spec not loaded. Call load() or loadWithSpinner() first.' |
| 266 | ); |
| 267 | } |
| 268 | } |
| 269 | |
| 270 | /** |
| 271 | * Read cached spec from disk |
no outgoing calls
no test coverage detected