You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: