Skip to content

Commit

Permalink
docs(api): update openapi spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-acampora committed May 8, 2023
1 parent bf7aa73 commit d2740b5
Showing 1 changed file with 8 additions and 36 deletions.
44 changes: 8 additions & 36 deletions docs/openapi/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ paths:
'500':
description: server error occurred


components:
schemas:
ArrayOfProcesses:
Expand All @@ -58,51 +57,24 @@ components:
type: object
properties:
id:
$ref: '#/components/schemas/ProcessId'
type: string
dateTime:
type: string
type:
type: string
patient:
$ref: '#/components/schemas/Patient'
healthProfessional:
$ref: '#/components/schemas/HealthProfessional'
room:
patientId:
type: string
healthProfessionalId:
type: string
preOperatingRoom:
$ref: '#/components/schemas/Room'
operatingRoom:
$ref: '#/components/schemas/Room'
state:
type: string
step:
type: string

ProcessId:
type: object
properties:
id:
type: string

Patient:
type: object
properties:
id:
type: string
name:
type: string
surname:
type: string


HealthProfessional:
type: object
properties:
id:
type: string
name:
type: string
surname:
type: string
role:
type: string

Room:
type: object
properties:
Expand Down

0 comments on commit d2740b5

Please sign in to comment.