swagger-api / swagger-api/swagger-codegen

Incomplete Spring Java code generation imports and POM dependencies?

Open
#9,645 0 comments 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

Description

Missing class imports and/or Java library dependencies in POM of the Spring Java codegen output resulting in unresolved Java classes in Spring Java Codegen outputs?

Swagger-codegen version

3.0.10

Command line used for generation

https://app.swaggerhub.com/apis Export function

Steps to reproduce

Downloaded codegen generated zip file then attempted build.

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 reproducing the SwaggerHub Export generation with Swagger-codegen 3.0.10, then inspect the generated Spring Java sources and POM for unresolved classes and missing dependencies. The issue names no repository files or tests; done means the generated project builds without unresolved imports or dependency errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
backend, build-system
Issue type
Bug
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.