Go types for Rootly API autogenerated from Swagger/OpenAPI definitions.
- Install oapi-codegen with
go install github.com/deepmap/oapi-codegen/cmd/oapi-codegen@v1.9.0
and make sure it is in your$PATH
- Run
make gen
to generate the file - Remove any duplicates from the generated file. This can easily be accomplished in a few minutes with the golang vscode extension. Unfortunately, this process needs to be done manually to ensure no problems occur.