Skip to content

Submodel Create via PUT /shells/{aasIdentifier}/submodels/{submodelIdentifier} return wrong type on 201 #601

@aaronzi

Description

@aaronzi

What happens?

When creating a Submodel on an AAS using the superpath endpoint PUT /shells/{aasIdentifier}/submodels/{submodelIdentifier}, the given response body is a Submodel Reference. I would expect it to be the Submodel itself which would be aligned with similar PUT endpoints.

Why is this wrong?

Inconsistent to similar endpoints that have the same behavior.

How should it be fixed?

The endpoint should return the created Submodel and not a Submodel Reference

  • I have signed the required Developer Certificate of Origin (DCO) already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions