swagger-api / swagger-api/swagger-codegen

Does any current version of swagger codegen supports JDK1.6

Open
#5,787 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

General: Question Server: Java
Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Swagger code gen support for JDK1.6

I am working on a project that requires to create the service stub for a JAX-RS service that will be deployed on a server with JDK1.6. I am using the swagger code-gen version 2.2.2 but not able to clean build the stubs with this version .

Swagger-codegen version

I can generate the service stubs using JDK1.7 but then I face issues(the bad major –minor version error) while deploying the code on a server that' supports JDK1.6. Is there an option that can be enabled or a current version of swagger code gen available that will generate the stubs that is backward compatible with JDK1.6 ?

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 by reviewing Swagger Codegen 2.2.2's JAX-RS stub generation and its JDK compatibility requirements. Reproduce the clean-build or bad major-minor version error with JDK 1.6, then establish whether a supported configuration or version can generate deployable stubs, or document that it cannot.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.