You can uncomment the two lines marked # uncomment this! in the script to make the command perl name-of-script.pl routes produce output that go from this (correct):
/api * api
+/ GET
+/foo POST "foo"
+/foo OPTIONS "foo_openapi_documentation"
/api * api
+/ GET
+/bar POST "bar"
+/bar OPTIONS "bar_openapi_documentation"
to this (ehm, yeah):
/foo POST "foo"
/api * api
/api * api
+/bar POST "bar"
Given the following script:
You can uncomment the two lines marked
# uncomment this!
in the script to make the commandperl name-of-script.pl routes
produce output that go from this (correct):to this (ehm, yeah):