repositorypackage
0.0.0-20231102142214-b4bf4a25db2a
Repository: https://github.com/rootlyhq/rootly-go.git
Documentation: pkg.go.dev
# README
rootly-go
Go types for Rootly API autogenerated from Swagger/OpenAPI definitions.
Generating the Code
- Install oapi-codegen with
go install github.com/deepmap/oapi-codegen/cmd/[email protected]
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.