Skip to content

Change deleteSubmodelReferenceByIdAasRepository to return NO_CONTENT#961

Merged
aaronzi merged 3 commits intoeclipse-basyx:mainfrom
dk-emag:dk/bugfix-#949
Jan 28, 2026
Merged

Change deleteSubmodelReferenceByIdAasRepository to return NO_CONTENT#961
aaronzi merged 3 commits intoeclipse-basyx:mainfrom
dk-emag:dk/bugfix-#949

Conversation

@dk-emag
Copy link
Contributor

@dk-emag dk-emag commented Jan 21, 2026

Pull Request Template

Description of Changes

Changed the return code for endpoint DELETE '/shells/{aasIdentifier}/submodel-refs/{submodelIdentifier}' to 204 (NO_CONTENT)

Related Issue

Closes #949

BaSyx Configuration for Testing

AAS Files Used for Testing

Additional Information


Please ensure that you have tested your changes thoroughly before submitting the pull request.

@aaronzi
Copy link
Member

aaronzi commented Jan 21, 2026

Thanks for implementing this fix. As you can see from the failed pipelines, a few minor changes are also needed in tests where this endpoint is used. Would you be so kind to also adapt the expected values in the tests so that they run through as well

@dk-emag
Copy link
Contributor Author

dk-emag commented Jan 28, 2026

Excuse me. All tests should now pass.

@aaronzi
Copy link
Member

aaronzi commented Jan 28, 2026

Thanks for fixing them :)

@aaronzi aaronzi merged commit 2fa54ff into eclipse-basyx:main Jan 28, 2026
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] The endpoint '/shells/{aasIdentifier}/submodel-refs/{submodelIdentifier}' returns a code of 200 when successful.

2 participants