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

Generator does not delete files for items removed from API spec #46

Closed
algochoi opened this issue Dec 9, 2022 · 1 comment
Closed
Assignees
Labels
new-bug Bug report that needs triage Team Scytale

Comments

@algochoi
Copy link
Contributor

algochoi commented Dec 9, 2022

Subject of the issue

Your environment

@jasonpaulos reported that the generator only writes/appends items from the spec. If something was removed from the API spec, the old files would not be deleted.

Steps to reproduce

Investigate example later.

Expected behaviour

For removed items from the spec, the corresponding generated file should also be removed. We could run something like a clean command before running the generator to make sure that all stale files are removed first, and the generator is then run to generate the files according the the API spec.

Actual behaviour

@algochoi algochoi added the new-bug Bug report that needs triage label Dec 9, 2022
@algochoi algochoi changed the title Generator does not delete generator files for items removed from API spec Generator does not delete files for items removed from API spec Dec 9, 2022
@algochoi
Copy link
Contributor Author

#47 #50 #51 Addresses this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-bug Bug report that needs triage Team Scytale
Projects
None yet
Development

No branches or pull requests

2 participants