Skip to content

Commit 842df5c

Browse files
docs(rest-api): delete no content status code from get room and correct examples
1 parent 8fe9ae9 commit 842df5c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/rest-api/rest-api-docs.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ servers:
44
url: http://localhost:<port>/api
55
info:
66
description: This is the API of the Building Management microservice within the Smart Operating Block project
7-
version: 0.1.1
7+
version: 1.0.0
88
title: Building Management API
99
contact:
1010
email: info@smartoperatingblock.com
@@ -88,8 +88,6 @@ paths:
8888
application/json:
8989
schema:
9090
$ref: '#/components/schemas/Room'
91-
'204':
92-
description: no content about the room was found
9391
'404':
9492
description: room not found
9593
'500':
@@ -298,7 +296,7 @@ components:
298296
unit:
299297
type: string
300298
enum: [CELSIUS, FAHRENHEIT]
301-
example: celsius
299+
example: CELSIUS
302300
humidity:
303301
type: number
304302
example: 55.5
@@ -311,7 +309,7 @@ components:
311309
unit:
312310
type: string
313311
enum: [LUX]
314-
example: lux
312+
example: LUX
315313
presence:
316314
type: boolean
317315
example: true
@@ -335,4 +333,4 @@ components:
335333
type:
336334
type: string
337335
enum: [ENDOSCOPE, XRAY]
338-
example: endoscope
336+
example: ENDOSCOPE

0 commit comments

Comments
 (0)