OpenAPITools / OpenAPITools/openapi-generator

[REQ] useJakartaEe should now be true by default (Java)

Open
#18,242 1 comment 3 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

The migration from javax to jakarta namespace has been going on for 3+ years and many other projects finished it, e.g. Spring did it with version 6. I think it's time to make useJakartaEe=true the new default.

The old javax namespace can still be used by providing --additional-properties useJakartaEe=false.

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 names the useJakartaEe option but no files or tests. Start by locating that option's definition and current default in the Java generators, then check how generated output is tested. Done means the default is true while explicitly passing useJakartaEe=false still preserves javax behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
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.