Skip to content
Snippets Groups Projects
Commit 4d3bb627 authored by Benjamin Leendert Montavon's avatar Benjamin Leendert Montavon
Browse files

Major cleanup

parent 7a7ddcba
No related branches found
No related tags found
No related merge requests found
Showing
with 74 additions and 48 deletions
...@@ -58,7 +58,7 @@ paths: ...@@ -58,7 +58,7 @@ paths:
/OBJ-LSM/OBJ-Entities/{uuid}/FUN-Reset/: /OBJ-LSM/OBJ-Entities/{uuid}/FUN-Reset/:
$ref: 'paths/index.yml#/OBJ-ROOT/OBJ-LSM/OBJ-Entities/OBJ-Entity/FUN-Reset' $ref: 'paths/index.yml#/OBJ-ROOT/OBJ-LSM/OBJ-Entities/OBJ-Entity/FUN-Reset'
/OBJ-LSM/OBJ-Entities/{uuid}/FUN-Trigger/: /OBJ-LSM/OBJ-Entities/{uuid}/FUN-Trigger/:
$ref: 'paths/index.yml#/OBJ-ROOT/OBJ-LSM/OBJ-Entities/OBJ-Entity/FUN-Reset' $ref: 'paths/index.yml#/OBJ-ROOT/OBJ-LSM/OBJ-Entities/OBJ-Entity/FUN-Trigger'
/OBJ-LSM/OBJ-Entities/{uuid}/PAR-Calibration/: /OBJ-LSM/OBJ-Entities/{uuid}/PAR-Calibration/:
$ref: 'paths/index.yml#/OBJ-ROOT/OBJ-LSM/OBJ-Entities/OBJ-Entity/PAR-Calibration' $ref: 'paths/index.yml#/OBJ-ROOT/OBJ-LSM/OBJ-Entities/OBJ-Entity/PAR-Calibration'
/OBJ-LSM/OBJ-Entities/{uuid}/PAR-Mode/: /OBJ-LSM/OBJ-Entities/{uuid}/PAR-Mode/:
......
...@@ -5,12 +5,11 @@ description: > ...@@ -5,12 +5,11 @@ description: >
Function that initializes or resets the entire device. This function is usually called Function that initializes or resets the entire device. This function is usually called
on startup and should implement the necessary business logic in the device's backend. on startup and should implement the necessary business logic in the device's backend.
get: get:
summary: READ
tags: tags:
- Root - Root
description: description:
$ref: '#/description' $ref: '#/description'
responses: responses:
'200': '200':
description: > description: >
...@@ -29,9 +28,10 @@ get: ...@@ -29,9 +28,10 @@ get:
arguments: [] arguments: []
returns: [] returns: []
'500': '500':
$ref: "../../responses/index.yml#/InternalError" $ref: '../../responses/index.yml#/InternalError'
post: post:
summary: INVOKE
tags: tags:
- Root - Root
description: description:
...@@ -58,6 +58,6 @@ post: ...@@ -58,6 +58,6 @@ post:
content: content:
application/json: {} application/json: {}
'500': '500':
$ref: "../../responses/index.yml#/InternalError" $ref: '../../responses/index.yml#/InternalError'
'501': '501':
$ref: "../../responses/index.yml#/NotImplemented" $ref: '../../responses/index.yml#/NotImplemented'
\ No newline at end of file \ No newline at end of file
...@@ -5,6 +5,7 @@ description: > ...@@ -5,6 +5,7 @@ description: >
Function that shuts down the entire devicee. This function is usually called Function that shuts down the entire devicee. This function is usually called
after use and should implement the necessary business logic in the device's backend. after use and should implement the necessary business logic in the device's backend.
get: get:
summary: READ
tags: tags:
- Root - Root
description: description:
...@@ -27,9 +28,10 @@ get: ...@@ -27,9 +28,10 @@ get:
arguments: [] arguments: []
returns: [] returns: []
'500': '500':
$ref: "../../responses/index.yml#/InternalError" $ref: '../../responses/index.yml#/InternalError'
post: post:
summary: INVOKE
tags: tags:
- Root - Root
description: description:
...@@ -56,6 +58,6 @@ post: ...@@ -56,6 +58,6 @@ post:
content: content:
application/json: {} application/json: {}
'500': '500':
$ref: "../../responses/index.yml#/InternalError" $ref: '../../responses/index.yml#/InternalError'
'501': '501':
$ref: "../../responses/index.yml#/NotImplemented" $ref: '../../responses/index.yml#/NotImplemented'
\ No newline at end of file \ No newline at end of file
...@@ -7,6 +7,7 @@ description: > ...@@ -7,6 +7,7 @@ description: >
The variables **must** be scalar of 1D. The variables **must** be scalar of 1D.
get: get:
summary: READ
tags: tags:
- LSM - LSM
description: description:
...@@ -56,9 +57,10 @@ get: ...@@ -56,9 +57,10 @@ get:
value: null value: null
timestamp: null timestamp: null
'500': '500':
$ref: "../../../responses/index.yml#/InternalError" $ref: '../../../responses/index.yml#/InternalError'
post: post:
summary: INVOKE
tags: tags:
- LSM - LSM
description: description:
...@@ -123,6 +125,6 @@ post: ...@@ -123,6 +125,6 @@ post:
timestamp: "2022-03-02T12:03:01.002271Z" timestamp: "2022-03-02T12:03:01.002271Z"
'500': '500':
$ref: "../../../responses/index.yml#/InternalError" $ref: '../../../responses/index.yml#/InternalError'
'501': '501':
$ref: "../../../responses/index.yml#/NotImplemented" $ref: '../../../responses/index.yml#/NotImplemented'
\ No newline at end of file \ No newline at end of file
...@@ -7,6 +7,7 @@ description: > ...@@ -7,6 +7,7 @@ description: >
Manual insertion of base stations must be supported and implemented by the system itself. Manual insertion of base stations must be supported and implemented by the system itself.
get: get:
summary: READ
tags: tags:
- LSM - LSM
description: description:
...@@ -32,9 +33,10 @@ get: ...@@ -32,9 +33,10 @@ get:
- uuid: OBJ-B - uuid: OBJ-B
name: Base Station B name: Base Station B
'500': '500':
$ref: "../../../../responses/index.yml#/InternalError" $ref: '../../../../responses/index.yml#/InternalError'
put: put:
summary: CREATE
tags: tags:
- LSM - LSM
description: description:
...@@ -72,4 +74,4 @@ put: ...@@ -72,4 +74,4 @@ put:
This system does not allow manual addition of base stations. This system does not allow manual addition of base stations.
'500': '500':
$ref: "../../../../responses/index.yml#/InternalError" $ref: '../../../../responses/index.yml#/InternalError'
\ No newline at end of file \ No newline at end of file
...@@ -7,6 +7,7 @@ description: > ...@@ -7,6 +7,7 @@ description: >
and implemented by the system itself. and implemented by the system itself.
get: get:
summary: READ
tags: tags:
- LSM - LSM
description: description:
...@@ -32,8 +33,9 @@ get: ...@@ -32,8 +33,9 @@ get:
- uuid: OBJ-002 - uuid: OBJ-002
name: Target 002 name: Target 002
'500': '500':
$ref: "../../../../responses/index.yml#/InternalError" $ref: '../../../../responses/index.yml#/InternalError'
put: put:
summary: CREATE
tags: tags:
- LSM - LSM
description: description:
...@@ -68,4 +70,4 @@ put: ...@@ -68,4 +70,4 @@ put:
This system does not allow manual addition of targets. This system does not allow manual addition of targets.
'500': '500':
$ref: "../../../../responses/index.yml#/InternalError" $ref: '../../../../responses/index.yml#/InternalError'
\ No newline at end of file \ No newline at end of file
...@@ -4,6 +4,7 @@ description: > ...@@ -4,6 +4,7 @@ description: >
Function that initializes or resets the mobile entity. Function that initializes or resets the mobile entity.
get: get:
summary: READ
tags: tags:
- Entity - Entity
description: description:
...@@ -29,9 +30,10 @@ get: ...@@ -29,9 +30,10 @@ get:
arguments: [] arguments: []
returns: [] returns: []
'500': '500':
$ref: "../../../../../responses/index.yml#/InternalError" $ref: '../../../../../responses/index.yml#/InternalError'
post: post:
summary: INVOKE
tags: tags:
- Entity - Entity
description: description:
...@@ -60,6 +62,6 @@ post: ...@@ -60,6 +62,6 @@ post:
content: content:
application/json: {} application/json: {}
'500': '500':
$ref: "../../../../../responses/index.yml#/InternalError" $ref: '../../../../../responses/index.yml#/InternalError'
'501': '501':
$ref: "../../../../../responses/index.yml#/NotImplemented" $ref: '../../../../../responses/index.yml#/NotImplemented'
\ No newline at end of file \ No newline at end of file
...@@ -4,6 +4,7 @@ description: > ...@@ -4,6 +4,7 @@ description: >
Triggers *n* measurements and sets a special *nonce. The acquisition mode Triggers *n* measurements and sets a special *nonce. The acquisition mode
must be set to `TRIGGERED`for this function to act meaningfully. must be set to `TRIGGERED`for this function to act meaningfully.
get: get:
summary: READ
tags: tags:
- Entity - Entity
description: description:
...@@ -54,9 +55,10 @@ get: ...@@ -54,9 +55,10 @@ get:
returns: [] returns: []
'500': '500':
$ref: "../../../../../responses/index.yml#/InternalError" $ref: '../../../../../responses/index.yml#/InternalError'
post: post:
summary: INVOKE
tags: tags:
- Entity - Entity
description: description:
...@@ -114,6 +116,6 @@ post: ...@@ -114,6 +116,6 @@ post:
returns: [] returns: []
'500': '500':
$ref: "../../../../../responses/index.yml#/InternalError" $ref: '../../../../../responses/index.yml#/InternalError'
'501': '501':
$ref: "../../../../../responses/index.yml#/NotImplemented" $ref: '../../../../../responses/index.yml#/NotImplemented'
\ No newline at end of file \ No newline at end of file
...@@ -3,6 +3,7 @@ description: > ...@@ -3,6 +3,7 @@ description: >
Object representing as single target of Large-Scale Metrology system and organizing its elements. Object representing as single target of Large-Scale Metrology system and organizing its elements.
get: get:
summary: READ
description: description:
$ref: '#/description' $ref: '#/description'
tags: tags:
...@@ -44,9 +45,10 @@ get: ...@@ -44,9 +45,10 @@ get:
- uuid: VAR-Orientation - uuid: VAR-Orientation
name: Orientation name: Orientation
'500': '500':
$ref: "../../../../../responses/index.yml#/InternalError" $ref: '../../../../../responses/index.yml#/InternalError'
delete: delete:
summary: REMOVE
tags: tags:
- Entity - Entity
description: description:
...@@ -66,5 +68,5 @@ delete: ...@@ -66,5 +68,5 @@ delete:
This system does not allow manual removal of base stations. This system does not allow manual removal of base stations.
'500': '500':
$ref: "../../../../../responses/index.yml#/InternalError" $ref: '../../../../../responses/index.yml#/InternalError'
...@@ -6,9 +6,8 @@ description: > ...@@ -6,9 +6,8 @@ description: >
This is a *read-only* parameter. This is a *read-only* parameter.
get: get:
summary: READ
tags: tags:
- Entity - Entity
description: description:
...@@ -41,4 +40,4 @@ get: ...@@ -41,4 +40,4 @@ get:
'500': '500':
$ref: "../../../../../responses/index.yml#/InternalError" $ref: '../../../../../responses/index.yml#/InternalError'
\ No newline at end of file \ No newline at end of file
...@@ -9,6 +9,7 @@ description: > ...@@ -9,6 +9,7 @@ description: >
* `IDLE`: The entity is currently unused. * `IDLE`: The entity is currently unused.
get: get:
summary: READ
tags: tags:
- Entity - Entity
description: description:
...@@ -38,8 +39,9 @@ get: ...@@ -38,8 +39,9 @@ get:
value: CONTINUOUS value: CONTINUOUS
timestamp: '2022-03-01T12:54:29.147062Z' timestamp: '2022-03-01T12:54:29.147062Z'
'500': '500':
$ref: "../../../../../responses/index.yml#/InternalError" $ref: '../../../../../responses/index.yml#/InternalError'
patch: patch:
summary: UPDATE
tags: tags:
- Entity - Entity
description: description:
...@@ -80,8 +82,8 @@ patch: ...@@ -80,8 +82,8 @@ patch:
value: TRIGGERED value: TRIGGERED
timestamp: '2022-03-01T12:54:29.147062Z' timestamp: '2022-03-01T12:54:29.147062Z'
'405': '405':
$ref: "../../../../../responses/index.yml#/NotAllowed" $ref: '../../../../../responses/index.yml#/NotAllowed'
'500': '500':
$ref: "../../../../../responses/index.yml#/InternalError" $ref: '../../../../../responses/index.yml#/InternalError'
\ No newline at end of file
...@@ -8,6 +8,7 @@ description: > ...@@ -8,6 +8,7 @@ description: >
a robot frame a robot frame
get: get:
summary: READ
tags: tags:
- Entity - Entity
description: description:
...@@ -37,8 +38,9 @@ get: ...@@ -37,8 +38,9 @@ get:
value: TCP Robot Alpha value: TCP Robot Alpha
timestamp: '2022-03-01T12:54:29.147062Z' timestamp: '2022-03-01T12:54:29.147062Z'
'500': '500':
$ref: "../../../../../responses/index.yml#/InternalError" $ref: '../../../../../responses/index.yml#/InternalError'
patch: patch:
summary: UPDATE
tags: tags:
- Entity - Entity
description: description:
...@@ -78,8 +80,8 @@ patch: ...@@ -78,8 +80,8 @@ patch:
value: TCP Robot Beta value: TCP Robot Beta
timestamp: '2022-03-01T12:54:29.147062Z' timestamp: '2022-03-01T12:54:29.147062Z'
'405': '405':
$ref: "../../../../../responses/index.yml#/NotAllowed" $ref: '../../../../../responses/index.yml#/NotAllowed'
'500': '500':
$ref: "../../../../../responses/index.yml#/InternalError" $ref: '../../../../../responses/index.yml#/InternalError'
\ No newline at end of file
...@@ -12,6 +12,7 @@ description: > ...@@ -12,6 +12,7 @@ description: >
This is a *read-only* parameter. This is a *read-only* parameter.
get: get:
summary: READ
tags: tags:
- Entity - Entity
description: description:
...@@ -36,9 +37,9 @@ get: ...@@ -36,9 +37,9 @@ get:
datatype: enum datatype: enum
dimension: [] dimension: []
unit: null unit: null
range: ["OK", "WARNING", "ERROR", "MAINTENANCE"] range: ["OK", "WARNING", "Error", "MAINTENANCE"]
constant: false constant: false
value: "OK" value: "OK"
timestamp: "2022-02-01T17:00:01.000Z" timestamp: "2022-02-01T17:00:01.000Z"
'500': '500':
$ref: "../../../../../responses/index.yml#/InternalError" $ref: '../../../../../responses/index.yml#/InternalError'
\ No newline at end of file \ No newline at end of file
...@@ -9,6 +9,7 @@ description: > ...@@ -9,6 +9,7 @@ description: >
This is a *read-only* parameter. This is a *read-only* parameter.
get: get:
summary: READ
tags: tags:
- Entity - Entity
description: description:
...@@ -38,6 +39,6 @@ get: ...@@ -38,6 +39,6 @@ get:
value: SMR-1.5inch value: SMR-1.5inch
timestamp: '2022-03-01T12:54:29.147062Z' timestamp: '2022-03-01T12:54:29.147062Z'
'500': '500':
$ref: "../../../../../responses/index.yml#/InternalError" $ref: '../../../../../responses/index.yml#/InternalError'
\ No newline at end of file
...@@ -13,6 +13,7 @@ description: > ...@@ -13,6 +13,7 @@ description: >
the same JSON representation. Hence they may also be consumed via MQTT and its websocket the same JSON representation. Hence they may also be consumed via MQTT and its websocket
extension in the corresponding applications. extension in the corresponding applications.
get: get:
summary: READ
tags: tags:
- Entity - Entity
description: description:
...@@ -47,9 +48,10 @@ get: ...@@ -47,9 +48,10 @@ get:
] ]
timestamp: "2022-02-01T17:00:01.352916Z" timestamp: "2022-02-01T17:00:01.352916Z"
'500': '500':
$ref: "../../../../../responses/index.yml#/InternalError" $ref: '../../../../../responses/index.yml#/InternalError'
options: options:
summary: INFO
tags: tags:
- Entity - Entity
description: description:
...@@ -79,6 +81,6 @@ options: ...@@ -79,6 +81,6 @@ options:
covariance: null covariance: null
timestamp: null timestamp: null
'500': '500':
$ref: "../../../../../responses/index.yml#/InternalError" $ref: '../../../../../responses/index.yml#/InternalError'
'501': '501':
$ref: "../../../../../responses/index.yml#/NotImplemented" $ref: '../../../../../responses/index.yml#/NotImplemented'
\ No newline at end of file \ No newline at end of file
...@@ -11,6 +11,7 @@ description: > ...@@ -11,6 +11,7 @@ description: >
the same JSON representation. Hence they may also be consumed via MQTT and its websocket the same JSON representation. Hence they may also be consumed via MQTT and its websocket
extension in the corresponding applications. extension in the corresponding applications.
get: get:
summary: READ
tags: tags:
- Entity - Entity
description: description:
...@@ -44,9 +45,10 @@ get: ...@@ -44,9 +45,10 @@ get:
] ]
timestamp: "2022-02-01T17:00:01.352916Z" timestamp: "2022-02-01T17:00:01.352916Z"
'500': '500':
$ref: "../../../../../responses/index.yml#/InternalError" $ref: '../../../../../responses/index.yml#/InternalError'
options: options:
summary: INFO
tags: tags:
- Entity - Entity
description: description:
...@@ -76,6 +78,6 @@ options: ...@@ -76,6 +78,6 @@ options:
covariance: null covariance: null
timestamp: null timestamp: null
'500': '500':
$ref: "../../../../../responses/index.yml#/InternalError" $ref: '../../../../../responses/index.yml#/InternalError'
'501': '501':
$ref: "../../../../../responses/index.yml#/NotImplemented" $ref: '../../../../../responses/index.yml#/NotImplemented'
\ No newline at end of file \ No newline at end of file
...@@ -3,6 +3,7 @@ description: > ...@@ -3,6 +3,7 @@ description: >
Main object organizing all elements that belong to a Large-Scale Metrology system. Main object organizing all elements that belong to a Large-Scale Metrology system.
get: get:
summary: READ
description: description:
$ref: '#/description' $ref: '#/description'
tags: tags:
...@@ -32,4 +33,4 @@ get: ...@@ -32,4 +33,4 @@ get:
- uuid: FUN-Covariance - uuid: FUN-Covariance
name: Covariance name: Covariance
'500': '500':
$ref: "../../../responses/index.yml#/InternalError" $ref: '../../../responses/index.yml#/InternalError'
\ No newline at end of file \ No newline at end of file
...@@ -7,6 +7,7 @@ description: > ...@@ -7,6 +7,7 @@ description: >
This is a *read-only* parameter. This is a *read-only* parameter.
get: get:
summary: READ
tags: tags:
- LSM - LSM
description: description:
...@@ -37,4 +38,4 @@ get: ...@@ -37,4 +38,4 @@ get:
'500': '500':
$ref: "../../../responses/index.yml#/InternalError" $ref: '../../../responses/index.yml#/InternalError'
\ No newline at end of file \ No newline at end of file
...@@ -5,7 +5,7 @@ description: > ...@@ -5,7 +5,7 @@ description: >
using SOIL as long as the methods there and especially the OBJ-LSM object are maintained. using SOIL as long as the methods there and especially the OBJ-LSM object are maintained.
get: get:
summary: TODO MEANINGFUL SUMMARIES summary: READ
description: description:
$ref: '#/description' $ref: '#/description'
tags: tags:
...@@ -37,4 +37,4 @@ get: ...@@ -37,4 +37,4 @@ get:
- uuid: PAR-Time - uuid: PAR-Time
name: System Time name: System Time
'500': '500':
$ref: "../../responses/index.yml#/InternalError" $ref: '../../responses/index.yml#/InternalError'
\ No newline at end of file \ No newline at end of file
...@@ -8,6 +8,7 @@ description: > ...@@ -8,6 +8,7 @@ description: >
This is a *read-only* parameter. This is a *read-only* parameter.
get: get:
summary: READ
tags: tags:
- Root - Root
description: description:
...@@ -35,4 +36,4 @@ get: ...@@ -35,4 +36,4 @@ get:
value: "WZL | RWTH Aachen" value: "WZL | RWTH Aachen"
timestamp: "2020-02-01T15:00:01.000Z" timestamp: "2020-02-01T15:00:01.000Z"
'500': '500':
$ref: "../../responses/index.yml#/InternalError" $ref: '../../responses/index.yml#/InternalError'
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment