swagger-api / swagger-api/swagger-codegen

swagger generated Java version is 1.7

Open
#11,158 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

I used the official website to generate Java version 1.7, how to generate 1.8. And I want to use GetMapping instead of RequestMapping(method = requestMethod.get). How should I set this up?

<java.version>1.7</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
2.7.0


org.springframework.boot
spring-boot-starter-parent
1.5.9.RELEASE

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

No repository file or test is identified; start with the official generator options and the generated Maven properties shown in the report. Determine whether Java 8 and GetMapping are supported configuration choices, and define done as a documented or reproducible generation setup that produces both requested results.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.