lorenzodonini / ocpp-go

Open Charge Point Protocol implementation in Go
MIT License
277 stars 126 forks source link

modify to struct level validation for idToken value (is required) except NoAuthorization type #226

Closed dwibudut closed 1 year ago

dwibudut commented 1 year ago

Modify required validation tag of IdToken field to struct level validation, this is to allow empty value idToken when IdTokenType is NoAuthorization.

https://github.com/lorenzodonini/ocpp-go/issues/223