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
Describe the bug
I'm getting some issues when running tests for [email protected] as shown below:
../../../go/pkg/mod/github.com/swaggo/swag/[email protected]/operationv3.go:178:23: cannot use spec.NewSingleOrArray(OBJECT) (value of type "github.com/sv-tools/openapi/spec".SingleOrArray[string]) as *"github.com/sv-tools/openapi/spec".SingleOrArray[string] value in assignment
../../../go/pkg/mod/github.com/swaggo/swag/[email protected]/operationv3.go:189:23: cannot use spec.NewSingleOrArray(STRING) (value of type "github.com/sv-tools/openapi/spec".SingleOrArray[string]) as *"github.com/sv-tools/openapi/spec".SingleOrArray[string] value in assignment
../../../go/pkg/mod/github.com/swaggo/swag/[email protected]/operationv3.go:192:23: cannot use spec.NewSingleOrArray(STRING) (value of type "github.com/sv-tools/openapi/spec".SingleOrArray[string]) as *"github.com/sv-tools/openapi/spec".SingleOrArray[string] value in assignment
../../../go/pkg/mod/github.com/swaggo/swag/[email protected]/operationv3.go:256:24: cannot use spec.NewSingleOrArray(OBJECT) (value of type "github.com/sv-tools/openapi/spec".SingleOrArray[string]) as *"github.com/sv-tools/openapi/spec".SingleOrArray[string] value in assignment
../../../go/pkg/mod/github.com/swaggo/swag/[email protected]/operationv3.go:267:24: cannot use spec.NewSingleOrArray(STRING) (value of type "github.com/sv-tools/openapi/spec".SingleOrArray[string]) as *"github.com/sv-tools/openapi/spec".SingleOrArray[string] value in assignment
../../../go/pkg/mod/github.com/swaggo/swag/[email protected]/operationv3.go:270:24: cannot use spec.NewSingleOrArray(STRING) (value of type "github.com/sv-tools/openapi/spec".SingleOrArray[string]) as *"github.com/sv-tools/openapi/spec".SingleOrArray[string] value in assignment
../../../go/pkg/mod/github.com/swaggo/swag/[email protected]/operationv3.go:350:53: invalid operation: cannot index schema.Spec.Type (variable of type *"github.com/sv-tools/openapi/spec".SingleOrArray[string])
../../../go/pkg/mod/github.com/swaggo/swag/[email protected]/operationv3.go:391:12: invalid argument: prop.Type (variable of type *"github.com/sv-tools/openapi/spec".SingleOrArray[string]) for built-in len
../../../go/pkg/mod/github.com/swaggo/swag/[email protected]/operationv3.go:398:19: invalid operation: cannot index prop.Type (variable of type *"github.com/sv-tools/openapi/spec".SingleOrArray[string])
../../../go/pkg/mod/github.com/swaggo/swag/[email protected]/operationv3.go:400:10: invalid argument: prop.Items.Schema.Spec.Type (variable of type *"github.com/sv-tools/openapi/spec".SingleOrArray[string]) for built-in len
../../../go/pkg/mod/github.com/swaggo/swag/[email protected]/operationv3.go:400:10: too many errors
I'm not sure what could be causing these errors, or if someone has encountered this before?
Expected behavior
No errors.
Screenshots
If applicable, add screenshots to help explain your problem.
Describe the bug
I'm getting some issues when running tests for
[email protected]
as shown below:I'm not sure what could be causing these errors, or if someone has encountered this before?
Expected behavior
No errors.
Screenshots
If applicable, add screenshots to help explain your problem.
Your swag version
Your go version
1.23.0
The text was updated successfully, but these errors were encountered: