Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Code generation failed without any more info when updating to v7.11.0 #20544

Open
6 tasks
bushwakko opened this issue Jan 27, 2025 · 0 comments
Open
6 tasks

Comments

@bushwakko
Copy link

bushwakko commented Jan 27, 2025

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator (example)?
  • Have you tested with the latest master to confirm the issue still exists?
  • Have you searched for related issues/PRs?
  • What's the actual output vs expected output?
  • [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description

Code generation works fine with v7.10.0, bumping to v7.11.0 fails with the following error:
`gradle clean build
executing gradlew instead of gradle

Task :openApiGenerate-sample FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':openApiGenerate-sample'.

Code generation failed.

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 3s
5 actionable tasks: 4 executed, 1 from cache`

openapi-generator version

Happens with v7.11.0, going back to v7.10.0 works. Is a regression.

OpenAPI declaration file content or url

Because of the lacking error message, I have no idea what causes it, and cannot make a minimal example. Need help debugging.

Generation Details

Using the current working yaml's (using 3 separate yamls)

Steps to reproduce

Same as above

Related issues/PRs

No related issues

Suggest a fix

No known fixes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant