(endpoint: Pick<ImpactEndpoint, 'method' | 'routePath'>)
| 667 | |
| 668 | /** `GET /orders/:id`, or just the path when the registration named no method. */ |
| 669 | export function endpointLabel(endpoint: Pick<ImpactEndpoint, 'method' | 'routePath'>): string { |
| 670 | return endpoint.method ? `${endpoint.method} ${endpoint.routePath}` : endpoint.routePath; |
| 671 | } |
| 672 | |
| 673 | // Zwei Bausteine, die es im Referenzprojekt nicht gibt ------------------------ |
| 674 |
no outgoing calls
no test coverage detected