Skip to content

Commit ca46d43

Browse files
docs: update openapi documentation
1 parent f321de2 commit ca46d43

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/openapi/openapi.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
openapi: 3.0.0
22
servers:
33
- description: User Management Integration microservice
4-
url: http://localhost:<port>/api
4+
url: http://localhost:<port>/api/v1
55
info:
66
description: This is the API of the User Management Integration microservice within the Smart Operating Block project.
77
version: "1.0.0"
@@ -65,7 +65,7 @@ paths:
6565
'404':
6666
description: User not found
6767

68-
/users/:
68+
/users:
6969
post:
7070
tags:
7171
- User API
@@ -85,7 +85,7 @@ paths:
8585
schema:
8686
$ref: '#/components/schemas/User'
8787

88-
/healthprofessionals/{healthProfessionalId}:
88+
/healthProfessionals/{healthProfessionalId}:
8989
get:
9090
tags:
9191
- Health Professional API
@@ -123,7 +123,7 @@ paths:
123123
'404':
124124
description: Health professional not found
125125

126-
/healthprofessionals/:
126+
/healtPprofessionals:
127127
post:
128128
tags:
129129
- Health Professional API
@@ -143,7 +143,7 @@ paths:
143143
schema:
144144
$ref: '#/components/schemas/HealthProfessional'
145145

146-
/auth/:
146+
/auth:
147147
post:
148148
tags:
149149
- Authentication API
@@ -216,4 +216,4 @@ components:
216216

217217
HealthProfessionalRole:
218218
type: string
219-
enum: [ DOCTOR, NURSE, THERAPIST ]
219+
enum: [ SURGEON, NURSE, ANESTHETIST ]

0 commit comments

Comments
 (0)