Skip to content

Conversation

@provokateurin
Copy link
Member

@provokateurin provokateurin force-pushed the feat/generate-spec/sub-dir-controllers branch from e5e9d6f to 0e8d6d3 Compare May 13, 2025 07:18
@provokateurin provokateurin merged commit eec3922 into main May 13, 2025
16 of 19 checks passed
@provokateurin provokateurin deleted the feat/generate-spec/sub-dir-controllers branch May 13, 2025 07:26
['name' => 'Settings#deprecatedRouteAndParameterGet', 'url' => '/api/{apiVersion}/deprecated-route-parameter-get', 'verb' => 'GET', 'requirements' => ['apiVersion' => '(v2)']],
['name' => 'Settings#samePathGet', 'url' => '/api/{apiVersion}/same-path', 'verb' => 'GET', 'requirements' => ['apiVersion' => '(v2)']],
['name' => 'Settings#samePathPost', 'url' => '/api/{apiVersion}/same-path', 'verb' => 'POST', 'requirements' => ['apiVersion' => '(v2)']],
['name' => 'V1\SubDir#subDirRoute', 'url' => '/sub-dir', 'verb' => 'GET'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Windows style paths in the name?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't even aware that subfolders worked

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't even aware that subfolders worked

Me neither until yesterday 🙈

Windows style paths in the name?

No, it's the backslash from the namespace. Routes never operate based on the path but the namespace (but of course those are very closely related with PSR-4).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants