OpenAPITools / OpenAPITools/openapi-generator

[REQ] Distribute versions on Homebrew

Open
#11,816 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Is your feature request related to a problem? Please describe.

I have encountered this bug in OpenAPI Generator 5.4.0, which isn't present in 5.3.1 due to the change in the JSONEncodable code. There seems to also be a bugfix in the master branch 6.0.X build. Installing openapi-generator 5.3.1 via Homebrew is a longwinded though necessary process for this bug fix.

Describe the solution you'd like

I would like to be able to install multiple versions of OpenAPI Generator through Homebrew, using the syntax brew install openapi-generator@5.3.1

Describe alternatives you've considered

Reinstalling an old version of openapi-generator using Homebrew is an involved process that requires:

  • finding a commit before openapi-generator was updated
  • reverting Homebrew's formula list to that commit
  • potentially uninstalling dependencies if you have a more recent version installed than that version of Homebrew recognises
  • installing openapi-generator at that version
  • reverting the git changes to your local Homebrew install
  • pinning openapi-generator so that the installation doesn't again get overwritten by the updated version

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

The issue requests versioned OpenAPI Generator installations through Homebrew, using syntax such as brew install openapi-generator@5.3.1. Start by reviewing the current Homebrew distribution and release process; done means users can install the requested generator versions without reverting Homebrew history or pinning formulas.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.