Skip to content

Conversation

@klahap
Copy link
Contributor

@klahap klahap commented Jul 24, 2025

This PR adds a new treatWarningsAsErrors setting to the validation task.
If set to true, the task will fail when warnings are found—helpful for keeping specs clean and catching issues early.

By default, it's off to keep things backward-compatible :)

@klahap klahap force-pushed the gradle-plugin-treat-warnings-as-errors branch from 44f7985 to a9f5a05 Compare July 25, 2025 06:30
@klahap klahap force-pushed the gradle-plugin-treat-warnings-as-errors branch from a9f5a05 to 2ad4178 Compare July 25, 2025 07:27
@wing328
Copy link
Member

wing328 commented Jul 25, 2025

thanks for the pr

cc @OpenAPITools/generator-core-team

@wing328
Copy link
Member

wing328 commented Jul 28, 2025

thanks for the contribution

let's give it a try

@wing328 wing328 merged commit f3944b1 into OpenAPITools:master Jul 28, 2025
15 checks passed
@wing328 wing328 added this to the 7.15.0 milestone Jul 28, 2025
Goopher pushed a commit to Goopher/openapi-generator that referenced this pull request Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants