Skip to content

server: SubmodelDescriptor serialization names supplementalSemanticIds wrong #631

Description

@hpoeche

Issue

Currently, the serialization of SubmodelDescriptor objects, defined in server/app/adapter/jsonization.py, uses the attribute name supplementalSemanticIds (with trailing s).
This is not compliant to the schema of the API objects in v3.1.1, which is the version that the README.md lists for the API.
This version still specifies the attribute name supplementalSemanticId without a trailing "s" (this was changed in v3.1.2 of the spec)

##Tests
After solving this issue, the test commented section in the test TestRegistryObjectSerialization.test_submodel_descriptor_serialization in server/test/adapter/test_jsonization.py (introduced with #627) should be enabled to test for correct serialization

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions