* Get all available endpoints from the loaded spec, sorted by path then method. * Throws if spec hasn't been loaded yet.
()
| 148 | * Throws if spec hasn't been loaded yet. |
| 149 | */ |
| 150 | getEndpoints(): EndpointInfo[] { |
| 151 | this.ensureLoaded(); |
| 152 | const endpoints = this.extractEndpoints(); |
| 153 | return this.sortEndpoints(endpoints); |
| 154 | } |
| 155 | |
| 156 | /** |
| 157 | * Extract body fields from a requestBody schema. |
no test coverage detected