openapi-dev #3

Merged
LeoMoulin merged 6 commits from openapi-dev into master 2023-12-11 10:23:15 +01:00
Showing only changes of commit f0b2c31a06 - Show all commits

View File

@ -26,6 +26,7 @@ paths:
get:
summary: list all users
tags:
- General
- SI
security:
- bearer: []
@ -52,6 +53,7 @@ paths:
get:
summary: get informations about yourself
tags:
- General
- Users
security:
- bearer: []
@ -67,6 +69,7 @@ paths:
post:
summary: Create user
tags:
- General
- Users
requestBody:
required: true
@ -104,6 +107,7 @@ paths:
patch:
summary: Change informations about yourself
tags:
- General
- Users
security:
- bearer: []
@ -129,6 +133,7 @@ paths:
get:
summary: Get user's informations
tags:
- General
- Admin
responses:
'200':
@ -140,6 +145,7 @@ paths:
patch:
summary: Alter user's informations
tags:
- General
- Admin
security:
- bearer: []
@ -158,6 +164,7 @@ paths:
post:
summary: Create new course
tags:
- General
- Courses
- Secretariat
security:
@ -184,6 +191,7 @@ paths:
get:
summary: see courses informations
tags:
- General
- Courses
responses:
'200':
@ -201,6 +209,7 @@ paths:
delete:
summary: delete a course
tags:
- General
- Courses
- Secretariat
security:
@ -213,6 +222,7 @@ paths:
patch:
summary: Change course options
tags:
- General
- Secretariat
- Courses
security:
@ -255,6 +265,7 @@ paths:
post:
summary: Create a cursus
tags:
- General
- cursus
security:
- bearer: []
@ -286,6 +297,7 @@ paths:
get:
summary: See Cursus's informations
tags:
- General
- cursus
responses:
'200':
@ -303,6 +315,7 @@ paths:
delete:
summary: Delete cursus
tags:
- General
- cursus
security:
- bearer: []
@ -314,6 +327,7 @@ paths:
patch:
summary: Modify cursus
tags:
- General
- cursus
security:
- bearer: []