When adding a Shell-Descriptor to the AssetAdministrationShellRegistry API's shell-descriptors endpoint, that should raise a conflict. That's currently not the case, the shell-descriptor is overwritten.
Execute the exact same request but replace the idShort with "idShort": "overwritten".
Screenshots
![DESCRIPTION](LINK.png)
Expected Behaviour
I'm expecting a conflict here but I simply get the permission to overwrite the data that's already there.
409 Conflict is the specified behavior in the normative openapi files [1].
Contact Details
No response
Describe the bug
When adding a Shell-Descriptor to the AssetAdministrationShellRegistry API's
shell-descriptors
endpoint, that should raise a conflict. That's currently not the case, the shell-descriptor is overwritten.To reproduce
POST /shell-descriptors
with payloadExecute the exact same request but replace the
idShort
with"idShort": "overwritten"
.Screenshots
Expected Behaviour
I'm expecting a conflict here but I simply get the permission to overwrite the data that's already there. 409 Conflict is the specified behavior in the normative openapi files [1].
[1] https://app.swaggerhub.com/apis/Plattform_i40/AssetAdministrationShellRegistryServiceSpecification/V3.0_SSP-001#/Asset%20Administration%20Shell%20Registry%20API/PostAssetAdministrationShellDescriptor
Version
No response
Operating System
No response
Relevant log output
No response