(endpoint: IRouteDocumentation)
| 185 | }; |
| 186 | |
| 187 | const toEndpointSummary = (endpoint: IRouteDocumentation) => { |
| 188 | const value = SUMMARY_TEXTS[endpoint.handler] || ""; |
| 189 | return value.replace("{model}", endpoint.model.toLowerCase()); |
| 190 | }; |
| 191 | |
| 192 | const toEndpointDescription = (endpoint: IRouteDocumentation) => { |
| 193 | const value = DESCRIPTION_TEXTS[endpoint.handler] || ""; |
no outgoing calls
no test coverage detected