serverless-models-plugin
serverless-models-plugin copied to clipboard
model removed from s-models.json is not delete in API Gateway
My models in s-models.json are created and updated properly but removing a model does not delete it in API Gateway.
I did not implement the remove functionality yet. This will be added later as it is not trivial to do that automatically. Currently I propose that you manually delete the model if you do not need it anymore.
Don't automatically remove, it would make production systems very unstable.
This will be automatically handled as soon as SLS 1.x support has been finished. Then CloudFormation will automatically remove stale models.