@cparra/apexdocs 3.3.1 → 3.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/generate.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -2969,11 +2969,7 @@ class OpenApiDocsProcessor {
|
|
|
2969
2969
|
this.logger.error(`Type does not contain urlMapping annotation ${type.name}`);
|
|
2970
2970
|
return null;
|
|
2971
2971
|
}
|
|
2972
|
-
|
|
2973
|
-
if (endpointPath.startsWith("/")) {
|
|
2974
|
-
endpointPath = endpointPath.substring(1);
|
|
2975
|
-
}
|
|
2976
|
-
return endpointPath;
|
|
2972
|
+
return urlMapping.value.replaceAll('"', "").replaceAll("'", "").replaceAll("/*", "/");
|
|
2977
2973
|
}
|
|
2978
2974
|
}
|
|
2979
2975
|
|