Closed shipperizer closed 2 months ago
we noticed that some of the endpoints are failing to do proper payload validation, we do have some annotations on structs but we failed to get a proper setup
we should pivot to use https://github.com/go-playground/validator and enforce required parameters on JSON payload, see example in https://github.com/go-playground/validator/blob/master/_examples%2Fsimple%2Fmain.go
this issue relates to #227
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/IAM-761.
This message was autogenerated
we noticed that some of the endpoints are failing to do proper payload validation, we do have some annotations on structs but we failed to get a proper setup
we should pivot to use https://github.com/go-playground/validator and enforce required parameters on JSON payload, see example in https://github.com/go-playground/validator/blob/master/_examples%2Fsimple%2Fmain.go
this issue relates to #227