MCPcopy Create free account
hub / github.com/axe-api/axe-api / toEndpointSummary

Function toEndpointSummary

packages/axe-api/src/Builders/SwaggerBuilder.ts:187–190  ·  view source on GitHub ↗
(endpoint: IRouteDocumentation)

Source from the content-addressed store, hash-verified

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

Callers 1

generateDocumentationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected