Open marcdebus opened 1 month ago
Interesting, as a workaround, have you tried altering the operationId's using event listeners?
https://github.com/cnizzardini/cakephp-swagger-bake/blob/master/docs/events.md
No, but I'll try that. Thanks.
It works, thank you!
Re-opening to determine if this should be added into the core feature set.
What version of the library are you using?
I’m currently using version 2.5.9 because I’m working with CakePHP 4.x, but I plan to upgrade to version 5 soon.
The default output in swagger.json is generated like this:
Using the #[OpenApiOperation(...)] attribute/annotation, you cannot set the operationId. A generation tool like NSwagStudio produces a C# class with errors, as ":" is not allowed in identifiers.
Invalid token ':' in class ....