Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for jakarta.* namespace in jaxrs-* generators #1054

Closed
erdlet opened this issue Aug 13, 2022 · 8 comments
Closed

Support for jakarta.* namespace in jaxrs-* generators #1054

erdlet opened this issue Aug 13, 2022 · 8 comments

Comments

@erdlet
Copy link

erdlet commented Aug 13, 2022

I tried to generate an API for a Jakarta EE 9 project but recognized that there's no jaxrs-* generator supporting the jakarta.* namespace. Because the jakarta.* namespace is the future of all Jakarta EE specifications, it makes sense to support the namespace at least inside the jaxrs-* generators.

Is there something on your roadmap regarding this issue or is this a completely new request? In case it's the latter, I'd offer my help to implement the support for this.

@mkjensen
Copy link

Related: swagger-api/swagger-codegen#11797

@s-jepsen
Copy link

I'm thinking of taking a stab at this for spring-boot-3.

Since spring-boot 3 is basically a switch to Jakarta and a minimum of java17 - i'm thinking of doing a new dedicated spring-boot-3 library target.

Is this the way to go?

@s-jepsen
Copy link

s-jepsen commented Oct 29, 2022

@frantuma @HugoMario: Looking at the spring-boot and spring-cloud libraries - they support spring 1.5 (which was released Feb 2017)?

  • Is this something I can remove to make the libraries more simple?
  • Any dateLibraries (Joda, threetenbp) to be removed to make the libraries more simple?

Looking at threetenbp - Java 6 and Java 7 are eol according to (https://endoflife.date/java)
Looking at Joda - appears to not be actively developed anymore.

@mkjensen
Copy link

Even commercial support has ended for Spring Boot 1.5, so it makes sense to stop supporting that?

See https://spring.io/projects/spring-boot#support for more details.

@s-jepsen
Copy link

s-jepsen commented Oct 31, 2022

@mkjensen : Thx for the overview of supported versions :)

So i'd really like to remove Spring Boot 1.x support and add support for Spring boot 3.x.

And upgrading Spring Boot 2 support to latest 2.7 release?

@s-jepsen
Copy link

So I'm basically suggesting the below 3 or 4 tasks.

  • Remove Spring Boot 1.x support
  • Upgrade Spring Boot 2.1.16 to latest Spring Boot 2.7.x
  • Introduce Spring Boot 3.x support.
  • Extra: Possibly remove some of the variants of dateLibrary support (threetenbp, java8-localdatetime, joda, legacy) - although this will also affect other Java based generators???

@mlemnian
Copy link

mlemnian commented Dec 15, 2022

Almost all the java related generators need to be updated:

  • especially JEE-related generators (if it's not already done)

Fyro-Ing added a commit to Fyro-Ing/swagger-codegen-generators that referenced this issue Dec 26, 2022
Fyro-Ing added a commit to Fyro-Ing/swagger-codegen-generators that referenced this issue Dec 26, 2022
Fyro-Ing added a commit to Fyro-Ing/swagger-codegen-generators that referenced this issue Dec 26, 2022
Fyro-Ing added a commit to Fyro-Ing/swagger-codegen-generators that referenced this issue Dec 26, 2022
Fyro-Ing added a commit to Fyro-Ing/swagger-codegen-generators that referenced this issue Dec 26, 2022
@HugoMario
Copy link
Contributor

addressed by #1091

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants