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
//go:generate go run github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen --config=config.yaml https://raw.githubusercontent.com/DmitryScaletta/twitch-api-swagger/refs/heads/main/openapi.yaml
//generate API code.
//go:generate go run github.com/vektra/mockery/[email protected] --name ClientWithResponsesInterface --output ./mocks --with-expecter --filename api.gen.go --structname Api
//generate client interface mocks
//go:generate go run github.com/twitchtv/circuitgen --name ClientWithResponsesInterface --pkg ./ --debug --out ./circuit.gen.go --alias ClientWithResponsesCircuit --circuit-major-version 3
//generate circuits for interface
// SERVER is the default helix server api url. Use with the creation of the client.