swagger-api / swagger-codegen

swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
http://swagger.io
Apache License 2.0
17.02k stars 6.03k forks source link

Erlang client generator #3816

Open webron opened 8 years ago

webron commented 8 years ago

From @loretoparisi on September 16, 2016 13:0

Is Erlang client autogen in the roadmap?

Copied from original issue: swagger-api/swagger-editor#1064

wing328 commented 8 years ago

@loretoparisi we do not have the Erlang API client generator at the moment.

Recently @galaxie has contributed a Erlang server generator via #3758.

Would you have time to contribute the Erlang API client generator?

loretoparisi commented 8 years ago

@wing328 officially asked the Erlang Developers Group a contribution to this.

tsloughter commented 7 years ago

I'm looking to handle this. Can someone link me to any client specific documentation for writing a generator? There is so much to dig through I'm having trouble finding any besides https://github.com/swagger-api/swagger-codegen#making-your-own-codegen-modules

wing328 commented 7 years ago

@tsloughter thanks for offering help on this. A good starting point is https://github.com/swagger-api/swagger-codegen/wiki/How-to-add-a-generator-for-a-new-language-or-framework

Another good way is to review other PRs to add new generators: https://github.com/swagger-api/swagger-codegen/pulls?q=is%3Apr+is%3Aclosed+label%3A%22Enhancement%3A+New+generator%22

Let me know if you need further assistance.

tsloughter commented 7 years ago

Thanks @wing328

I'm going to open a WIP pull request in hopes to get others interested and giving me feedback if that is ok :)

wing328 commented 6 years ago

Hi all, the Erlang client generator (beta) by @tsloughter has been merged into master.

Please pull the latest master to give it a try.