You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the SubmodelRepository implementation, the methods postSubmodelElementByPathSubmodelRepo and postSubmodelElementSubmodelRepo return a ResponseEntity. However, the current implementation only returns a 201 Created status without including the created SubmodelElement in the response body.
Since the return type is already defined as SubmodelElement, the current implementation does not comply with the specified API and should be corrected to include the created object in the response body.
Describe the bug
In the SubmodelRepository implementation, the methods postSubmodelElementByPathSubmodelRepo and postSubmodelElementSubmodelRepo return a ResponseEntity. However, the current implementation only returns a 201 Created status without including the created SubmodelElement in the response body.
Since the return type is already defined as SubmodelElement, the current implementation does not comply with the specified API and should be corrected to include the created object in the response body.
postSubmodelElementByPathSubmodelRepo
postSubmodelElementSubmodelRepo
To Reproduce
Steps to reproduce the behavior:
BaSyx (please complete the following information):
Screenshots
If applicable, add screenshots to help explain your problem.
Used Asset Administration files (.aasx/.json/.xml)
Please drop your AAS files here that were used when the bug was encountered.
BaSyx configuration
Provide details about the configuration you used. If possible, attach the configuration as a .zip file.
System (please complete the following information):
The text was updated successfully, but these errors were encountered: