* Load the OpenAPI spec with spinner UI. * Returns true if successful, false otherwise.
(forceRefresh = false)
| 135 | * Returns true if successful, false otherwise. |
| 136 | */ |
| 137 | async loadWithSpinner(forceRefresh = false): Promise<boolean> { |
| 138 | output.spinner( |
| 139 | forceRefresh ? 'Refreshing API endpoints...' : 'Loading API endpoints...' |
| 140 | ); |
| 141 | const success = await this.load(forceRefresh); |
| 142 | output.stopSpinner(); |
| 143 | return success; |
| 144 | } |
| 145 | |
| 146 | /** |
| 147 | * Get all available endpoints from the loaded spec, sorted by path then method. |
no test coverage detected