swagger-api / swagger-api/swagger-codegen
[Elixir] Add server generator for Phoenix
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
We would like to add a new server generator for Elixir Phoenix
Similar to what we've done for PowerShell, Rust and other generators, we can first create a Petstore Phoenix server app with 3 endpoints listed below:
Then based on the Elixir Phoenix code, we'll start the reverse engineering process to create the generator and templates.
cc @mbuhot
Swagger-codegen version
Latest master
Suggest a fix/enhancement
If anyone wants to help out on this, please reply to let us know.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the analogous PowerShell and Rust generators, then inspect the Petstore definition in modules/swagger-codegen/src/test/resources/2_0/petstore.yaml and its three linked endpoint ranges. Done means a Phoenix server generator can produce a Petstore Phoenix app covering the listed GET, form POST, and JSON-body POST endpoints.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100