Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call clean-openapi before generating new opeanpi Go code. (#882)
* Call clean-openapi before generating new opeanpi Go code. Right now, the Makefile target for the go openapi code only re-generates if the [openapi.yaml](https://github.com/GoogleChrome/webstatus.dev/blob/ddf30251ca40fc008f338d33c0fe31bdd0b61984/Makefile#L108-L119) itself has changed. But if the underlying libraries changed, a developer's environment will fail to re-generate. This change: - Now, we just wipe out all the generated openapi Go code which guarantees re-generation during `make build` (which happens before `make start-local`) The typescript openapi code doesn't have the same problem because the rule for it is a little different. * Address feedback
- Loading branch information