Skip to content

Commit fdfb9d6

Browse files
committed
fix for #251
1 parent 42b6b52 commit fdfb9d6

File tree

2 files changed

+31
-11
lines changed

2 files changed

+31
-11
lines changed

Part2-API-Schemas/openapi.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -450,9 +450,8 @@ components:
450450
- type: object
451451
properties:
452452
result:
453-
type: array
454-
items:
455-
$ref: "#/components/schemas/SubmodelElementValue"
453+
type: object
454+
description: Since patternProperties and propertyNames are not supported by OpenApi yet, the ValueOnly serialization for this elements works with the key-attribute as the JSON-property name and the value-attribute as the corresponding value.
456455
GetSubmodelsMetadataResult:
457456
allOf:
458457
- $ref: '#/components/schemas/PagedResult'
@@ -477,9 +476,7 @@ components:
477476
- type: object
478477
properties:
479478
result:
480-
type: array
481-
items:
482-
$ref: "#/components/schemas/SubmodelValue"
479+
$ref: "#/components/schemas/SubmodelValue"
483480
hexLiteralPattern:
484481
type: string
485482
pattern: '^16#[0-9A-F]+$'

documentation/IDTA-01002-3/modules/ROOT/pages/changelog.adoc

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Note: Changes in Metamodel (IDTA-01001) will not be listed here, although they have an impact on the payload of many operations.
1010
====
1111

12-
== Changes w.r.t. V3.0.3 to V3.1
12+
== Changes w.r.t. V3.0.4 to V3.1
1313

1414
Major Changes:
1515

@@ -47,7 +47,7 @@ Minor Changes:
4747
* xref:http-rest-api/http-rest-api.adoc#design-decisions[Design Decisions for the HTTP API]: Clarify that padding is not allowed for base64url-encoded values (https://github.com/admin-shell-io/aas-specs-api/issues/423[#423])
4848
* xref:http-rest-api/http-rest-api.adoc#modifier-constraints[HTTP Modifier Constraints]: adding note for metadata and value-only representations of Asset Administration Shells (https://github.com/admin-shell-io/aas-specs-api/issues/268[#268])
4949

50-
=== Interface Changes w.r.t. V3.0.3 to V3.1
50+
=== Interface Changes w.r.t. V3.0.4 to V3.1
5151

5252
[%autowidth,width="100%",cols="10%,29%,10%,51%",options="header",]
5353
|===
@@ -92,7 +92,7 @@ add DeleteBulkSubmodelDescriptorsById
9292

9393
|===
9494

95-
=== Operation Changes w.r.t. V3.0.3 to V3.1
95+
=== Operation Changes w.r.t. V3.0.4 to V3.1
9696

9797
[%autowidth,width="100%",cols="40%,15%,45%",options="header",]
9898
|===
@@ -113,7 +113,7 @@ h|Operation h|Kind of Change h|Comment
113113
|DeleteBulkSubmodelDescriptorsById|new a| new API-Operation for Submodel Registry Interface
114114
|===
115115

116-
=== Profile Changes w.r.t. V3.0.3 to V3.1
116+
=== Profile Changes w.r.t. V3.0.4 to V3.1
117117

118118
[%autowidth,width="100%",cols="30%,15%,55%",options="header",]
119119
|===
@@ -130,7 +130,7 @@ added new API-operation SearchAllAssetAdministrationShellIdsByAssetLink
130130
|all |new a| Added version 3.1 for all existing profiles
131131
|===
132132

133-
=== Class Changes w.r.t. V3.0.3 to V3.1
133+
=== Class Changes w.r.t. V3.0.4 to V3.1
134134

135135
.Changes in Data Types for Payload
136136
[cols="5%,42%,48%",options="header",]
@@ -163,6 +163,29 @@ added new API-operation SearchAllAssetAdministrationShellIdsByAssetLink
163163
|===
164164

165165

166+
== Changes w.r.t. V3.0.3 to V3.0.4
167+
168+
Major:
169+
* Change: paging_metadata is required in OpenAPI to match the definition in this document.
170+
* Change: ValueOnly classes changed from array to object for AnnotatedRelationshipElementValue/value, EntityValue/statements
171+
* Change: Return type of the OpenAPI classes GetSubmodelsValueResult and GetSubmodelElementsValueResult from array to object (https://github.com/admin-shell-io/aas-specs-api/issues/251[#251])
172+
173+
174+
=== Interface Changes w.r.t. V3.0.3 to V3.0.4
175+
176+
None.
177+
178+
=== Operation Changes w.r.t. V3.0.3 to V3.0.4
179+
180+
181+
|===
182+
|*Operation Change Old* |*Operation Change New* |*Kind of Change* |*Comment*
183+
| PostAllAssetLinksById had cardinality of the payload of “1” | payload cardinality is “1..*” | Change |
184+
|===
185+
186+
187+
188+
166189
== Changes w.r.t. V3.0.2 to V3.0.3
167190

168191
Major:

0 commit comments

Comments
 (0)