mobilityhouse / ocpp

Python implementation of the Open Charge Point Protocol (OCPP).
MIT License
766 stars 298 forks source link

URL does not get converted from snake_case responder_url to camelCase responderURL #590

Closed Jared-Newell-Mobility closed 6 months ago

Jared-Newell-Mobility commented 7 months ago

In the 2.0.1 spec for AuthorizeRequest and GetCertificateStatusRequest there is a field responderURL that does not get converted from snake_case responder_url to camelCase responderURL. This PR adds handling of this edge case. in SetNetworkProfileRequest there is a field ocppCsmsUrl which is handled correctly but causes problems for a more general solution.

Let me know if the conditionals work for you.

See Original PR https://github.com/mobilityhouse/ocpp/pull/336

Jared-Newell-Mobility commented 6 months ago

Merged so will close