OpenAPITools / OpenAPITools/openapi-generator

[BUG][java] Documentation says artifactVersion=1.0 by default but 1.0.0 is generated

Open
#14,877 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

In java generator: https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/java.md

Documentation says artifactVersion=1.0 by default but 1.0.0 is generated

openapi-generator version

I use https://www.npmjs.com/package/@openapitools/openapi-generator-cli version 2.5.2 that selects openapi-generator#6.4.0

Suggest a fix

Fix documentation or code

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 docs/generators/java.md and reproduce the Java generator behavior using openapi-generator 6.4.0, selected by CLI 2.5.2. Determine whether the documented default or generated 1.0.0 is authoritative, then update the documentation or corresponding behavior so the stated default and generated artifactVersion agree.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.