This repository was archived by the owner on Jun 4, 2024. It is now read-only.
This repository was archived by the owner on Jun 4, 2024. It is now read-only.
How to generate controller code with distinct method names in case of prefix in paths #84
Open
Description
I have use-case like below
- GET /calendar/domains - get all domains. Domain here is model and DB table.
calendar
is just the prefix - GET /calendar/domains/{id} - get a domain by ID.
Here the base controller generates:
abstract public function actionDomains();
abstract public function actionDomains($id);
Two method with same name leads to errors.
How can code generation for above end-points can be achieved?
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
📋 Backlog