From ec5b1d11acbe88e73a2412247c40bc9ca88146bb Mon Sep 17 00:00:00 2001 From: Aaron Zielstorff Date: Thu, 21 May 2026 08:23:19 +0200 Subject: [PATCH] Fix response payload type for PutSubmodelById: status code 201 now returns a Submodel instead of a Reference --- .../V3.1_SSP-001.yaml | 4 ++-- .../IDTA-01002-3/modules/ROOT/pages/changelog.adoc | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/AssetAdministrationShellRepositoryServiceSpecification/V3.1_SSP-001.yaml b/AssetAdministrationShellRepositoryServiceSpecification/V3.1_SSP-001.yaml index 3ee4e49d..6938ffc4 100644 --- a/AssetAdministrationShellRepositoryServiceSpecification/V3.1_SSP-001.yaml +++ b/AssetAdministrationShellRepositoryServiceSpecification/V3.1_SSP-001.yaml @@ -540,7 +540,7 @@ paths: required: true responses: '201': - description: Submodel reference created successfully + description: Submodel created successfully headers: Location: description: URL of the newly created resource @@ -549,7 +549,7 @@ paths: content: application/json: schema: - $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.1.2#/components/schemas/Reference' + $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.1.2#/components/schemas/Submodel' '204': description: Submodel updated successfully '400': diff --git a/documentation/IDTA-01002-3/modules/ROOT/pages/changelog.adoc b/documentation/IDTA-01002-3/modules/ROOT/pages/changelog.adoc index 05f7bfd0..cefdaac6 100644 --- a/documentation/IDTA-01002-3/modules/ROOT/pages/changelog.adoc +++ b/documentation/IDTA-01002-3/modules/ROOT/pages/changelog.adoc @@ -9,6 +9,17 @@ Note: Changes in Metamodel (IDTA-01001) will not be listed here, although they have an impact on the payload of many operations. ==== +== Changes w.r.t. V3.1.2 to V3.1.3 + +Major Changes: + +* ... + + +Minor Changes: + +* Fixed the response payload type of `PutSubmodelById` in the Asset Administration Shell Repository OpenAPI files: status code `201` now returns a `Submodel` instead of a `Reference`. (https://github.com/admin-shell-io/aas-specs-api/issues/601[#601]) + == Changes w.r.t. V3.1.1 to V3.1.2