diff --git a/generate.sh b/generate.sh index 5ddf03a..c97f0a9 100755 --- a/generate.sh +++ b/generate.sh @@ -67,7 +67,7 @@ echo "$transforms" | jq -r 'to_entries[] | "\(.key) \(.value)"' | while read -r done # Run codegen -go run github.com/deepmap/oapi-codegen/cmd/oapi-codegen@v1.16.2 \ +go run github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.4.1 \ -generate types,client \ -package passage \ -o "$output_file" \ diff --git a/passage.gen.go b/passage.gen.go index 6f591cf..3193d98 100644 --- a/passage.gen.go +++ b/passage.gen.go @@ -1,6 +1,6 @@ // Package passage provides primitives to interact with the openapi HTTP API. // -// Code generated by github.com/deepmap/oapi-codegen version v1.16.2 DO NOT EDIT. +// Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT. package passage import (