-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PHP][Symfony] To add PHP Symfony server generator #3486
Comments
Depending on circumstances I might be able to contribute. |
@Potherca thanks 👍 A good starting point is the Lumen Server Generator and the resource files Let me know if you need any help. |
As the priorities of my current employer has shifted, my time-frame on this has changed. It'll probably be another couple of months before I get to invest time in this issue. |
@Potherca thanks for the update. That's perfectly fine. We look forward to your contribution. In the meantime, if anyone wants to work on this, please reply to let us know. |
I would like to work on this. Please let me know the requirements and i might be able to contribute. |
@naelrashdeen thanks for offering help on this. A good starting point is to look at the following PHP server generator and clone/copy one of them to be the base or starting point of the PHP Symfony generator. Silex generator & resource files (templates) Zend generator PR is another good starting point on exactly what changes are required in order to add another PHP generator to Swagger Codegen. If you've further questions, please feel free to let us know. |
@naelrashdeen do you need any help from us? There're other useful tricks such as overriding postProcessOperations to tweak the output. |
@wing328 That sounds interesting. Could you please give me a couple of scenarios where that might be useful? |
A PHP developer who's familiar with the Symfony framework may find the generator useful if he uses the contract-first approach by first defining the OpenAPI spec and then using Swagger Codegen to generate PHP API client and server (Symfony). |
Hi, as there was not much going on here and I needed this fast, I wrote a Symfony-Bundle-Generator by myself. I provided it now as a PR! |
Description
We want to add a PHP Symfony server generator similar to what we've done for PHP Lumen, Silex, Slim.
Cloning the PHP Lumen generator is a good starting point.
If anyone is interested in making the contribution, please reply to let us know.
The text was updated successfully, but these errors were encountered: