Skip to content

Comments

Cleanup Unused Files in the SDK#31

Merged
shrinjay-opal merged 3 commits intoshrinjay/opal-13634-add-installation-and-duplicate-files-smoke-testsfrom
shrinjay/opal-13632-clean-unused-files-in-go-sdk
Sep 18, 2025
Merged

Cleanup Unused Files in the SDK#31
shrinjay-opal merged 3 commits intoshrinjay/opal-13634-add-installation-and-duplicate-files-smoke-testsfrom
shrinjay/opal-13632-clean-unused-files-in-go-sdk

Conversation

@shrinjay-opal
Copy link
Collaborator

@shrinjay-opal shrinjay-opal commented Sep 18, 2025

This PR cleans up some unused files and adds a script to do so which runs after each generation. The script just checks the FILES file that OpenAPI generator creates. This is because the openapi generator CLI does not handle this itself.

These unused files are not particularly problematic, but unused files can be problematic because they can contain broken-ness - for example we had a go file that was unused but contained duplicate definitions, resulting in the go SDK not building.

…of-disallowunknownfileds-in-generated-go-models

Get rid of disallow unknown fields in generated go models
@shrinjay-opal shrinjay-opal merged commit da1c9d1 into shrinjay/opal-13634-add-installation-and-duplicate-files-smoke-tests Sep 18, 2025
2 checks passed
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.

2 participants