-
-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
Summary
Open API files typically have leading /s for paths keys. Do you have any more context on this commit which intentionally removes leading slashes from paths entries?
Current Behavior
Apexdocs removes the leading / from any path defined in @RestResource(urlMapping=.... Typically paths entries have a leading slash so that when appending with a servers entry, the resulting URL is a valid URL.
Expected Behavior
Apexdocs leaves the leading /.
Further Reading
Checkout this base Spectral rule which validates that paths have a leading / and documentation from SmartBear aka Swagger which describes creating paths with leading slashes.
Metadata
Metadata
Assignees
Labels
No labels