Compare commits

..

No commits in common. "f0b2c31a066dc04e27655f25f6109c9fecbe3a7d" and "b8897cd6979ab3f4bdcc466efd600c7d048cd4e2" have entirely different histories.

View File

@ -1,9 +1,7 @@
openapi: 3.0.0
info:
title: ClydeAPI
description:
This is the Clyde's api documentation. <br/>
Each endpoints are organised by endpoints **AND** by extensions making it easier to navigate.
description: Clyde's api
version: 0.0.1
servers:
@ -26,7 +24,6 @@ paths:
get:
summary: list all users
tags:
- General
- SI
security:
- bearer: []
@ -53,10 +50,7 @@ paths:
get:
summary: get informations about yourself
tags:
- General
- Users
security:
- bearer: []
responses:
'200':
description: Ok
@ -64,12 +58,9 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/User"
'401':
$ref: '#/components/responses/UnauthorizedError'
post:
summary: Create user
tags:
- General
- Users
requestBody:
required: true
@ -107,7 +98,6 @@ paths:
patch:
summary: Change informations about yourself
tags:
- General
- Users
security:
- bearer: []
@ -133,7 +123,6 @@ paths:
get:
summary: Get user's informations
tags:
- General
- Admin
responses:
'200':
@ -145,7 +134,6 @@ paths:
patch:
summary: Alter user's informations
tags:
- General
- Admin
security:
- bearer: []
@ -164,7 +152,6 @@ paths:
post:
summary: Create new course
tags:
- General
- Courses
- Secretariat
security:
@ -191,7 +178,6 @@ paths:
get:
summary: see courses informations
tags:
- General
- Courses
responses:
'200':
@ -209,7 +195,6 @@ paths:
delete:
summary: delete a course
tags:
- General
- Courses
- Secretariat
security:
@ -222,7 +207,6 @@ paths:
patch:
summary: Change course options
tags:
- General
- Secretariat
- Courses
security:
@ -265,7 +249,6 @@ paths:
post:
summary: Create a cursus
tags:
- General
- cursus
security:
- bearer: []
@ -297,7 +280,6 @@ paths:
get:
summary: See Cursus's informations
tags:
- General
- cursus
responses:
'200':
@ -315,7 +297,6 @@ paths:
delete:
summary: Delete cursus
tags:
- General
- cursus
security:
- bearer: []
@ -327,7 +308,6 @@ paths:
patch:
summary: Modify cursus
tags:
- General
- cursus
security:
- bearer: []
@ -397,7 +377,7 @@ components:
"firstName": "John",
"email": "John.Doe@example.com",
"address": {
"address": "Rue de Tournais 42",
"address": "Rue de Tounais 42",
"country": "BE"},
"birthDate": "1941-02-22",
"staffMember": true,
@ -412,7 +392,7 @@ components:
description: Follow the ISO-3166-1 alpha-2 standard.
example:
{
"address": "Rue de Tournais 42",
"address": "Rue de Tounais 42",
"country": "BE"
}
Course: