basyx-python-sdk
basyx-python-sdk copied to clipboard
server: `ProtocolInformation`'s `securityAttributes` is missed in serialization
Issue
The API object spec v3.1.2 defines for ProtocolInfromation an attribute securityAttributes.
The ProtocolInformation class in server/app/model/endpoint.py defines this attribute correctly but the serialization through ServerAASToJsonEncoder misses this attribute. The serialization should be extended to include all data from the Python object.
Tests
When this issue is cleared, the TODOs of server/test/adapter/test_jsonization.py in TestRegistryObjectSerialization._assert_example_protocol() should be resolved in order to test correct serialization of the securityAttributes.