Skip to content

chore: adopt openapi-generator-ignore file to control output - #70

Merged
ctreatma merged 2 commits into
mainfrom
openapi-generator-ignore
Oct 22, 2025
Merged

chore: adopt openapi-generator-ignore file to control output#70
ctreatma merged 2 commits into
mainfrom
openapi-generator-ignore

Conversation

@ctreatma

@ctreatma ctreatma commented Oct 22, 2025

Copy link
Copy Markdown
Contributor

This replaces the modelTests and apiTests settings in the generator config file with a custom openapi-generator-ignore file so that we can more explicitly and thoroughly control what files are produced by the generator in each service package. Switching to an ignore file eliminates the need for the remove-unused cleanup task, since we can now avoid generating unwanted files in the first place.

As a side effect of this change, the auto-generated metalv1 test files have been removed. These test files were accidentally reintroduced when the generate task in Makefile.metalv1 was updated to allow the metalv1 code to continue to not follow OpenAPI standards.

@ctreatma
ctreatma requested review from a team as code owners October 22, 2025 16:26
@ctreatma
ctreatma force-pushed the openapi-generator-ignore branch from 7ce4ace to ac98626 Compare October 22, 2025 16:39
@ctreatma
ctreatma requested a review from a team as a code owner October 22, 2025 16:39
@ctreatma
ctreatma merged commit a34db58 into main Oct 22, 2025
6 of 7 checks passed
@ctreatma
ctreatma deleted the openapi-generator-ignore branch October 22, 2025 18:20
@github-actions

Copy link
Copy Markdown
Contributor

This PR is included in version 0.14.0 🎉

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant