Open 42milez opened 4 months ago
Workaround: To avoid the following error, use github.com/oapi-codegen/oapi-codegen/v2 v2.3.1-0.20240709092903-309b11f85c73 .
github.com/oapi-codegen/oapi-codegen/v2 v2.3.1-0.20240709092903-309b11f85c73
# github.com/oapi-codegen/oapi-codegen/v2/pkg/util ../../../../../.go/pkg/mod/github.com/oapi-codegen/oapi-codegen/v2@v2.3.0/pkg/util/loader.go:24:45: undefined: openapi3.CircularReferenceCounter ../../../../../.go/pkg/mod/github.com/oapi-codegen/oapi-codegen/v2@v2.3.0/pkg/util/loader.go:26:12: undefined: openapi3.CircularReferenceCounter ../../../../../.go/pkg/mod/github.com/oapi-codegen/oapi-codegen/v2@v2.3.0/pkg/util/loader.go:33:12: undefined: openapi3.CircularReferenceCounter app/idp/api/api.go:8: running "go": exit status 1 make: *** [gen] Error 1
Related: https://github.com/oapi-codegen/oapi-codegen/issues/1702
This is fixed as of v2.4.0
Workaround: To avoid the following error, use
github.com/oapi-codegen/oapi-codegen/v2 v2.3.1-0.20240709092903-309b11f85c73
.