swagger-api / swagger-api/swagger-codegen
[Haskell] Add Scotty server generator
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
As discussed in https://github.com/swagger-api/swagger-codegen/issues/6147, we want to add a Scotty server generator.
Ideally we want to create an abstract base class "AbstractHaskellCodegen.java" based on HaskellServantCodegen.java to start with so as to make all Haskell generators (client, server) more consistent and easier to maintain.
Swagger-codegen version
Latest master
Suggest a fix/enhancement
If anyone wants to contribute the new generator, please reply to let us know.
cc @kamyar1979 @algas @mandrean
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 reading HaskellServantCodegen.java and the discussion in issue 6147 to understand the proposed AbstractHaskellCodegen.java structure. Then investigate how existing server generators are registered and templated for a Scotty implementation. Done means a working Haskell Scotty server generator with the shared abstraction agreed upon in the project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell, java
- Domain
- backend, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100