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

Function normalizeSwaggerPath

packages/axe-api/src/Builders/SwaggerBuilder.ts:545–547  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

543};
544
545const normalizeSwaggerPath = (path: string) => {
546 return path.replaceAll(/:([^/]+)/g, "{$1}");
547};
548
549const generateDocumentation = async () => {
550 const docs = DocumentationService.getInstance();

Callers 1

generateDocumentationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected