OpenAPITools / OpenAPITools/openapi-generator

[BUG] Description

Open
#5,503 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue: Bug
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

Bug Report Checklist
  • Have you provided a full/minimal spec to reproduce the issue?

See following spec:
LblOnWeb.zip

  • Have you validated the input using an OpenAPI validator (example)?

yes

  • What's the version of OpenAPI Generator used?

4.2.3

  • Have you search for related issues/PRs?
  • What's the actual output vs expected output?

gradle plugin generate whole project instead of only api and models

Description

With the following gradle setup I'm not able to generate only api and model, and instead is always generated whole project:
build.zip

openapi-generator version

4.2.3

OpenAPI declaration file content or url

See following spec:
LblOnWeb.zip

Command line used for generation

gradle openApiGenerate

Steps to reproduce

from command line, just run gradle openApiGenerate

Related issues/PRs
Suggest a fix

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 attached build.zip and LblOnWeb.zip, then run gradle openApiGenerate using the reported OpenAPI Generator 4.2.3 setup. Inspect the Gradle plugin configuration and compare the generated project with the requested API and model output; done means the command generates only those components.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.