OpenAPITools / OpenAPITools/openapi-generator

Elm package generation

Open
#13,629 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

Description

Command line flag to generate elm.json as a package rather than application

openapi-generator version

latest

Suggest a fix/enhancement

I would like to use the generated elm code as a dependency in my elm project rather than as a part of the elm project itself. This means converting the generated application elm.json through a series of a fragile post processing steps to arrive at a package elm.json file.

Requested feature: Adding a flag to the generator commands, that when set will generate the elm.json as a package rather than as an application.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Elm generator command and its handling of generator flags, then inspect how it currently produces elm.json. Add a package-generation option and verify that the generated manifest is a valid Elm package manifest rather than an application manifest.

Written by the indexing model from the issue text.

Assessment

Tech stack
elm
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.