Skip to content

Commit

Permalink
Fixed KICS violations
Browse files Browse the repository at this point in the history
  • Loading branch information
shijinrajbosch committed Aug 15, 2023
1 parent 637cc9f commit 325eb91
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions backend/src/main/resources/static/aas-registry-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,7 @@ components:
minLength: 1
maxLength: 200
ModelReference:
type: object
required:
- keys
properties:
Expand Down Expand Up @@ -906,6 +907,7 @@ components:
- NotApplicable
- Type
GetAssetAdministrationShellDescriptorsResult:
type: object
allOf:
- $ref: '#/components/schemas/PagedResult'
- type: object
Expand Down Expand Up @@ -981,6 +983,7 @@ components:
$ref: '#/components/schemas/LangStringNameType'
example: { "endpoints": [ { "protocolInformation": { "endpointAddress": "https://localhost:1234", "endpointProtocolVersion": "1.1" }, "interface": "AAS-1.0" }, { "protocolInformation": { "endpointAddress": "opc.tcp://localhost:4840" }, "interface": "AAS-1.0" }, { "protocolInformation": { "endpointAddress": "https://localhost:5678", "endpointProtocolVersion": "1.1", "subprotocol": "OPC UA Basic SOAP", "subprotocolBody": "ns=2;s=MyAAS", "subprotocolBodyEncoding": "application/soap+xml" }, "interface": "AAS-1.0" } ] }
LangStringTextType:
type: object
allOf:
- $ref: '#/components/schemas/AbstractLangString'
- properties:
Expand All @@ -998,13 +1001,15 @@ components:
# pattern: "^([\\t\\n\\r -퟿-�]|\\ud800[\\udc00-\\udfff]|[\\ud801-\\udbfe][\\udc00-\\udfff]|\\udbff[\\udc00-\\udfff])*$"
type: string
LangStringNameType:
type: object
allOf:
- $ref: '#/components/schemas/AbstractLangString'
- properties:
text:
type: string
maxLength: 128
Extension:
type: object
allOf:
- $ref: '#/components/schemas/HasSemantics'
- properties:
Expand Down Expand Up @@ -1035,9 +1040,11 @@ components:
items:
$ref: '#/components/schemas/Reference'
Reference:
type: object
allOf:
- $ref: '#/components/schemas/ReferenceParent'
ReferenceParent:
type: object
properties:
type:
$ref: '#/components/schemas/ReferenceTypes'
Expand Down Expand Up @@ -1123,6 +1130,7 @@ components:
- xs:unsignedLong
- xs:unsignedShort
AdministrativeInformation:
type: object
allOf:
- $ref: '#/components/schemas/HasDataSpecification'
- properties:
Expand Down Expand Up @@ -1164,9 +1172,11 @@ components:
dataSpecificationContent:
$ref: '#/components/schemas/DataSpecificationContent_choice'
DataSpecificationContent_choice:
type: object
oneOf:
- $ref: '#/components/schemas/DataSpecificationIec61360'
DataSpecificationIec61360:
type: object
allOf:
- $ref: '#/components/schemas/DataSpecificationContent'
- properties:
Expand Down Expand Up @@ -1247,12 +1257,14 @@ components:
- SubmodelElementCollection
- SubmodelElementList
LangStringPreferredNameTypeIec61360:
type: object
allOf:
- $ref: '#/components/schemas/AbstractLangString'
- properties:
text:
maxLength: 255
LangStringShortNameTypeIec61360:
type: object
allOf:
- $ref: '#/components/schemas/AbstractLangString'
- properties:
Expand Down Expand Up @@ -1281,6 +1293,7 @@ components:
- TIME
- TIMESTAMP
LangStringDefinitionTypeIec61360:
type: object
allOf:
- $ref: '#/components/schemas/AbstractLangString'
- properties:
Expand Down Expand Up @@ -1358,6 +1371,7 @@ components:
items:
$ref: '#/components/schemas/ProtocolInformation_securityAttributes'
SpecificAssetId:
type: object
allOf:
- $ref: '#/components/schemas/HasSemantics'
- properties:
Expand Down Expand Up @@ -1439,6 +1453,7 @@ components:
# pattern: "^-?(([1-9][0-9][0-9][0-9]+)|(0[0-9][0-9][0-9]))-((0[1-9])|(1[0-2]))-((0[1-9])|([12][0-9])|(3[01]))T(((([01][0-9])|(2[0-3])):[0-5][0-9]:([0-5][0-9])(\\.[0-9]+)?)|24:00:00(\\.0+)?)(Z|\\+00:00|-00:00)$"
type: string
GetSubmodelDescriptorsResult:
type: object
allOf:
- $ref: '#/components/schemas/PagedResult'
- type: object
Expand Down

0 comments on commit 325eb91

Please sign in to comment.