update schema base version

This commit is contained in:
bakito 2024-07-08 21:30:10 +02:00
parent 1350364804
commit 944bb42074
No known key found for this signature in database
GPG key ID: BCCEB081DB8A24D8
2 changed files with 4 additions and 4 deletions

View file

@ -55,7 +55,7 @@ GINKGO_VERSION ?= v2.19.0
GOLANGCI_LINT_VERSION ?= v1.59.1 GOLANGCI_LINT_VERSION ?= v1.59.1
GORELEASER_VERSION ?= v2.0.1 GORELEASER_VERSION ?= v2.0.1
MOCKGEN_VERSION ?= v0.4.0 MOCKGEN_VERSION ?= v0.4.0
OAPI_CODEGEN_VERSION ?= v2.3.0 OAPI_CODEGEN_VERSION ?= v2.2.0
SEMVER_VERSION ?= v1.1.3 SEMVER_VERSION ?= v1.1.3
## Tool Installer ## Tool Installer
@ -140,10 +140,10 @@ kind-test:
model: oapi-codegen model: oapi-codegen
@mkdir -p tmp @mkdir -p tmp
go run openapi/main.go v0.107.50 go run openapi/main.go v0.107.52
$(OAPI_CODEGEN) -package model -generate types,client -config .oapi-codegen.yaml tmp/schema.yaml > pkg/client/model/model_generated.go $(OAPI_CODEGEN) -package model -generate types,client -config .oapi-codegen.yaml tmp/schema.yaml > pkg/client/model/model_generated.go
model-diff: model-diff:
go run openapi/main.go v0.107.50 go run openapi/main.go v0.107.52
go run openapi/main.go go run openapi/main.go
diff tmp/schema.yaml tmp/schema-master.yaml diff tmp/schema.yaml tmp/schema-master.yaml

View file

@ -1,6 +1,6 @@
// Package model provides primitives to interact with the openapi HTTP API. // Package model provides primitives to interact with the openapi HTTP API.
// //
// Code generated by github.com/deepmap/oapi-codegen/v2 version v2.1.0 DO NOT EDIT. // Code generated by github.com/deepmap/oapi-codegen/v2 version v2.2.0 DO NOT EDIT.
package model package model
import ( import (