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
go-swagger allows null values for array items where it shouldn't. When defining an array having items that result in Go pointers, go-swagger inserts a special case to skip validation for nil pointers.
Problem statement
go-swagger
allowsnull
values for array items where it shouldn't. When defining an array having items that result in Go pointers,go-swagger
inserts a special case to skip validation for nil pointers.Swagger specification
Steps to reproduce
PUT
request to the/foo
endpoint with[null]
as body and observe that validation succeeds.Environment
swagger version: v0.25.0
go version: go1.13
OS: darwin
The text was updated successfully, but these errors were encountered: