Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add V3.0.2 Changes to 3.1.0 #254

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
44d3163
remove "submodelElements" from SubmodelValue
sebbader-sap Mar 4, 2024
cb2c72f
add V3.0.2 fixes
sebbader-sap Mar 4, 2024
a72897f
add bugfixes to the get and patch example table
sebbader-sap Mar 4, 2024
672ca75
Update documentation/IDTA-01002-3/modules/ROOT/pages/IDTA-01002_HTTP-…
sebbader-sap Mar 6, 2024
859cf57
Update documentation/IDTA-01002-3/modules/ROOT/pages/IDTA-01002_HTTP-…
sebbader-sap Mar 6, 2024
2459eb8
fix description for https://admin-shell.io/aas/API/3/1/DiscoveryServi…
sebbader-sap Mar 6, 2024
cfb95ab
Merge branch 'SeBa/bugfix-changes-for-3.1.0' of https://github.com/ad…
sebbader-sap Mar 6, 2024
17290ae
fix the regex pattern for part 2 classes according to the JSON schema…
sebbader-sap Mar 12, 2024
b4cfd83
fix metadata example
sebbader-sap Mar 18, 2024
f09d62d
fix metadata example
sebbader-sap Mar 18, 2024
8cba655
extend/fix examples for serialisation modifiers
sebbader-sap Mar 18, 2024
8c49f99
remove V3.1 discovery service profile from this branch
sebbader-sap Mar 18, 2024
0bfd541
add pathitem fix
sebbader-sap Mar 18, 2024
3ae4874
Fix sentence for the ValueOnly definition
sebbader-sap Mar 19, 2024
1979588
fix constraint for metadata + level
sebbader-sap Mar 19, 2024
496662f
Update documentation/IDTA-01002-3/modules/ROOT/pages/IDTA-01002_HTTP-…
sebbader-sap Mar 22, 2024
18cbb89
Update documentation/IDTA-01002-3/modules/ROOT/pages/IDTA-01002_HTTP-…
sebbader-sap Mar 22, 2024
bbff8e5
fix path entries in the serialization modifier example
sebbader-sap Mar 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,9 @@ paths:
content:
application/json:
schema:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.2#/components/schemas/PathItem'
type: array
items:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.2#/components/schemas/PathItem'
'400':
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.2#/components/responses/bad-request'
'401':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,9 @@ paths:
content:
application/json:
schema:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.2#/components/schemas/PathItem'
type: array
items:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.2#/components/schemas/PathItem'
'400':
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.2#/components/responses/bad-request'
'401':
Expand Down
4 changes: 3 additions & 1 deletion Entire-API-Collection/V3.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,9 @@ paths:
content:
application/json:
schema:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.2#/components/schemas/PathItem'
type: array
items:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.2#/components/schemas/PathItem'
'400':
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.2#/components/responses/bad-request'
'403':
Expand Down
27 changes: 11 additions & 16 deletions Part2-API-Schemas/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ components:
type: string
minLength: 1
maxLength: 2000
pattern: "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$"
pattern: ^([\\t\\n\\r -\ud7ff\ue000-\ufffd]|\\ud800[\\udc00-\\udfff]|[\\ud801-\\udbfe][\\udc00-\\udfff]|\\udbff[\\udc00-\\udfff])*$
Cursor:
name: cursor
in: query
Expand Down Expand Up @@ -164,7 +164,7 @@ components:
type: string
minLength: 1
maxLength: 2000
pattern: "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$"
pattern: ^([\\t\\n\\r -\ud7ff\ue000-\ufffd]|\\ud800[\\udc00-\\udfff]|[\\ud801-\\udbfe][\\udc00-\\udfff]|\\udbff[\\udc00-\\udfff])*$
endpoints:
items:
$ref: "#/components/schemas/Endpoint"
Expand All @@ -174,15 +174,15 @@ components:
type: string
minLength: 1
maxLength: 2000
pattern: "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$"
pattern: ^([\\t\\n\\r -\ud7ff\ue000-\ufffd]|\\ud800[\\udc00-\\udfff]|[\\ud801-\\udbfe][\\udc00-\\udfff]|\\udbff[\\udc00-\\udfff])*$
idShort:
type: string
maxLength: 128
id:
type: string
maxLength: 2000
minLength: 1
pattern: "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$"
pattern: ^([\\t\\n\\r -\ud7ff\ue000-\ufffd]|\\ud800[\\udc00-\\udfff]|[\\ud801-\\udbfe][\\udc00-\\udfff]|\\udbff[\\udc00-\\udfff])*$
specificAssetIds:
type: array
items:
Expand Down Expand Up @@ -306,7 +306,7 @@ components:
type: string
minLength: 1
maxLength: 2000
pattern: "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$"
pattern: ^([\\t\\n\\r -\ud7ff\ue000-\ufffd]|\\ud800[\\udc00-\\udfff]|[\\ud801-\\udbfe][\\udc00-\\udfff]|\\udbff[\\udc00-\\udfff])*$
specificAssetIds:
type: array
items:
Expand Down Expand Up @@ -565,7 +565,7 @@ components:
aasIds:
items:
type: string
pattern: "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$"
pattern: ^([\\t\\n\\r -\ud7ff\ue000-\ufffd]|\\ud800[\\udc00-\\udfff]|[\\ud801-\\udbfe][\\udc00-\\udfff]|\\udbff[\\udc00-\\udfff])*$
maxLength: 2000
type: array
packageId:
Expand All @@ -574,7 +574,7 @@ components:
type: object
PathItem:
type: string
pattern: "[A-Za-z][A-Za-z0-9_]+(\\.[A-Za-z][A-Za-z0-9_]+){0,}"
pattern: "^(([A-Za-z][A-Za-z0-9_]+)|(\\[[0-9]+\\]))((\\.[A-Za-z][A-Za-z0-9_]+)|(\\[[0-9]+\\])){0,}$"
PropertyMetadata:
allOf:
- $ref: "#/components/schemas/SubmodelElementAttributes"
Expand Down Expand Up @@ -740,7 +740,7 @@ components:
type: string
minLength: 1
maxLength: 2000
pattern: "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$"
pattern: ^([\\t\\n\\r -\ud7ff\ue000-\ufffd]|\\ud800[\\udc00-\\udfff]|[\\ud801-\\udbfe][\\udc00-\\udfff]|\\udbff[\\udc00-\\udfff])*$
semanticId:
$ref: "https://api.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.0.2#/components/schemas/Reference"
supplementalSemanticId:
Expand Down Expand Up @@ -822,14 +822,9 @@ components:
- $ref: "https://api.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.0.2#/components/schemas/HasSemantics"
- $ref: "https://api.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.0.2#/components/schemas/HasKind"
SubmodelValue:
properties:
submodelElements:
type: array
items:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.0.2#/components/schemas/SubmodelElement'
minItems: 1
$ref: "#/components/schemas/ValueOnly"
ValueOnly:
description: "The ValueOnly serialization of submodel elements (patternProperties and propertyNames will be supported propably with OpenApi 3.1). The full description of the generic JSON validation schema for the ValueOnly-serialization can be found in chapter 11.4.3 in Details of the Asset Administration Shell Part 2.\n"
description: "The ValueOnly serialization (patternProperties and propertyNames will be supported probably with OpenApi 3.1). For the full description of the generic JSON validation schema see the ValueOnly-Serialization as defined in the 'Specification of the Asset Administration Shell - Part 2'."
type: object


Expand Down Expand Up @@ -907,4 +902,4 @@ components:
content:
application/json:
schema:
$ref: '#/components/schemas/Result'
$ref: '#/components/schemas/Result'
Loading