OpenAPITools / OpenAPITools/openapi-generator

[QUESTION] openapi-generator-maven-plugin install dependency automatically

Open
#21,726 0 comments 0 reactions 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

I'm new to using openapi-generator-maven-plugin. When I add it per the readme and run mvn install it doesn't install the dependency required by the generated client until I add the dependency manually to the pom.xml. Is this the expected behavior?

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 with the openapi-generator-maven-plugin setup in the README and reproduce the behavior with mvn install. Inspect the generated client's dependency declarations and the consuming pom.xml to establish whether the dependency should be installed automatically. Done means the expected behavior is confirmed or the dependency handling is corrected and verified with the same build.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, openapi
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.