Skip to content

Commit

Permalink
docs(rest-api): delete no content status code from get room and corre…
Browse files Browse the repository at this point in the history
…ct examples
  • Loading branch information
AndreaGiulianelli committed Feb 23, 2023
1 parent 8fe9ae9 commit 842df5c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/rest-api/rest-api-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ servers:
url: http://localhost:<port>/api
info:
description: This is the API of the Building Management microservice within the Smart Operating Block project
version: 0.1.1
version: 1.0.0
title: Building Management API
contact:
email: [email protected]
Expand Down Expand Up @@ -88,8 +88,6 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Room'
'204':
description: no content about the room was found
'404':
description: room not found
'500':
Expand Down Expand Up @@ -298,7 +296,7 @@ components:
unit:
type: string
enum: [CELSIUS, FAHRENHEIT]
example: celsius
example: CELSIUS
humidity:
type: number
example: 55.5
Expand All @@ -311,7 +309,7 @@ components:
unit:
type: string
enum: [LUX]
example: lux
example: LUX
presence:
type: boolean
example: true
Expand All @@ -335,4 +333,4 @@ components:
type:
type: string
enum: [ENDOSCOPE, XRAY]
example: endoscope
example: ENDOSCOPE

0 comments on commit 842df5c

Please sign in to comment.