I am creating API documentations for my APIs. while creating am stuck in a problem that : I want to generate server side code for my API by which user can easily implement that code. I read about "codegen" by swagger by which one can generate code in different languages. So any please suggest me how to use that feature to generate code in different language (java,php...). or any alternative for this. also Guide me if i am wrong at any point of view. Thanks in advance.
Given that you've the API documented in OpenAPI/Swagger spec, you can use Swagger Codegen to generate PHP server stub (Slim, Silex, Lumne) very easily.
Please refer to the wiki for more information.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With