Skip to content

Commit

Permalink
build: bump oapi-codegen to 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lzap authored and mgold1234 committed Oct 6, 2024
1 parent 2fb2bdb commit dcd451e
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion internal/clients/composer/openapi.v2.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/clients/composer/package.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:generate go run -mod=mod github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.3.0 --config client.cfg.yaml openapi.v2.yml
//go:generate go run -mod=mod github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.4.1 --config client.cfg.yaml openapi.v2.yml

// Generated OpenAPI clients for the Composer service.
package composer
2 changes: 1 addition & 1 deletion internal/clients/content_sources/openapi.v1.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/clients/content_sources/package.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:generate go run -mod=mod github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.3.0 --config client.cfg.yaml content-sources.v1.json
//go:generate go run -mod=mod github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.4.1 --config client.cfg.yaml content-sources.v1.json

// Generated OpenAPI clients for the Content Sources service.
package content_sources
2 changes: 1 addition & 1 deletion internal/clients/provisioning/openapi.v1.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/clients/provisioning/package.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:generate go run -mod=mod github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.3.0 --config client.cfg.yml provisioning.v1.yml
//go:generate go run -mod=mod github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.4.1 --config client.cfg.yml provisioning.v1.yml

// Generated OpenAPI clients for the Provisioning service.
package provisioning
2 changes: 1 addition & 1 deletion internal/clients/recommendations/openapi.v3.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/clients/recommendations/package.go
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
//go:generate go run -mod=mod github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.3.0 --config client.cfg.yml recommendations.v3.json
//go:generate go run -mod=mod github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.4.1 --config client.cfg.yml recommendations.v3.json
package recommendations
2 changes: 1 addition & 1 deletion internal/v1/api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/v1/server.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:generate go run -mod=mod github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.3.0 --config server.cfg.yaml api.yaml
//go:generate go run -mod=mod github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.4.1 --config server.cfg.yaml api.yaml
package v1

import (
Expand Down
2 changes: 1 addition & 1 deletion tools/prepare-source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -eux

GO_VERSION=1.21.9
GO_BINARY=$(go env GOPATH)/bin/go$GO_VERSION
OAPI_VERSION=2.3.0
OAPI_VERSION=2.4.1

# this is the official way to get a different version of golang
# see https://go.dev/doc/manage-install
Expand Down

0 comments on commit dcd451e

Please sign in to comment.