swagger-api / swagger-api/swagger-codegen

Spring Boot Console Log stops after outputting the Spring Logo with swagger-codegen-maven-plugin v3.0.34

Open
#11,876 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

I have a Spring Boot application using spring-boot-starter-parent version 2.7.1 and io.swagger:swagger-codegen-maven-plugin:2.4.27

Because of https://nvd.nist.gov/vuln/detail/CVE-2016-6199 I am trying to replace io.swagger:swagger-codegen-maven-plugin:2.4.27 with io.swagger.codegen.v3:swagger-codegen-maven-plugin:3.0.34.

However, after making this change in all of my pom.xml files, although the server runs without erors, my console log stops after outputting the Spring Logo, making it look like the server froze or crashed before starting up properly. Also, no requests to the server are logged.

Swagger-codegen version

io.swagger.codegen.v3:swagger-codegen-maven-plugin:3.0.34

Swagger declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs

https://github.com/swagger-api/swagger-codegen/issues/10404

Suggest a fix/enhancement

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 with the application's pom.xml files and the Spring Boot startup path, comparing swagger-codegen-maven-plugin 3.0.34 with 2.4.27. Reproduce the console behavior and verify completion by confirming that startup finishes and server requests are logged normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
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.