From 5c4e981b16761543c5925cb711ba558aaa987f69 Mon Sep 17 00:00:00 2001 From: Anthony Debucquoy Date: Tue, 5 Dec 2023 20:47:12 +0100 Subject: [PATCH 1/6] =?UTF-8?q?Premi=C3=A8re=20des=20premi=C3=A8res=20vers?= =?UTF-8?q?ions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Documents/proto/general/openapi.yaml | 199 +++++++++++++++++++++++---- 1 file changed, 173 insertions(+), 26 deletions(-) diff --git a/Documents/proto/general/openapi.yaml b/Documents/proto/general/openapi.yaml index 4c74faa..415fe80 100644 --- a/Documents/proto/general/openapi.yaml +++ b/Documents/proto/general/openapi.yaml @@ -20,23 +20,51 @@ paths: schema: type: string example: pong - /user: - put: - summary: create a new user + /requests: + post: + summary: Faire une demande + tags: + - Student + responses: + '201': + description: Demande envoyée + /users: + get: + summary: Listere les utilisateurs + tags: + - SI + security: + - bearer: [] + responses: + default: + description: Success + + /user: # registration + post: + summary: Créer un utilisateur + tags: + - users + responses: + '200': + description: User created + '401': + $ref: '#/components/responses/UnauthorizedError' + patch: + summary: modifier ses informations tags: - users security: - bearer: [] responses: '200': - description: User created + description: Informaitions modifiées '401': $ref: '#/components/responses/UnauthorizedError' /user/{mat}: get: summary: get user's info tags: - - users + - Admin responses: '200': description: User found @@ -51,41 +79,160 @@ paths: required: true schema: type: integer - - /cursus/{id}: - get: - summary: Voir les informations sur un Cursus + patch: + summary: modifier les informations d'un utilisateur tags: - - Courses + - Admin + security: + - bearer: [] responses: '200': - description: Cursus found - content: - application/json: - schema: - $ref: '#/components/schemas/Cursus' + description: Informaitions modifiées + '401': + $ref: '#/components/responses/UnauthorizedError' + + /users/requests: + get: + summary: Lister les requetes d'utilisateurs + security: + - bearer: [] + tags: + - Secretaria + - SI + responses: + '200': + description: Liste les requètes + + + /user/{mat}/validate/{id}: + patch: + summary: Valider un utilisateur + tags: + - Secretaria + - SI + security: + - bearer: [] + parameters: + - name: mat + in: path + description: matricule de l'utilisateur + required: true + schema: + type: integer + - name: id + in: path + description: Identifiant de la demande + required: true + schema: + type: integer + - name: answer + in: header + description: valide l'utilisateur ou non + schema: + type: boolean + responses: + '200': + description: Informaitions modifiées + '401': + $ref: '#/components/responses/UnauthorizedError' + /courses/{id}: get: summary: Voir les informations sur un cours* tags: - Courses responses: - - put: - summary: Créer un nouveau cours - tags: - - Courses - security: - - bearer: [] - responses: - + '202': + description: success + parameters: + - name: id + in: path + required: true + schema: + type: integer delete: summary: Suprimer un cours tags: - Courses + - Secretaria security: - bearer: [] responses: + '202': + description: success + patch: + summary: Changer les options du cours + tags: + - Secretaria + - Courses + security: + - bearer: [] + parameters: + - name: professeur + in: header + required: true + schema: + type: string + responses: + '202': + description: Bien ouej + + /cursus: + post: + summary: Créer un nouveau cours + tags: + - cursus + security: + - bearer: [] + responses: + '202': + description: success + + + /cursus/{id}: + get: + summary: Voir les informations sur un cursus + tags: + - cursus + responses: + '202': + description: success + parameters: + - name: id + in: path + required: true + schema: + type: integer + delete: + summary: Suprimer un cursus + tags: + - cursus + security: + - bearer: [] + responses: + '202': + description: success + patch: + summary: Changer les options du cursus + tags: + - cursus + security: + - bearer: [] + responses: + '202': + description: Bien ouej + + /courses: + post: + summary: Créer un nouveau cours + tags: + - Courses + - Secretaria + security: + - bearer: [] + responses: + '202': + description: success components: @@ -124,7 +271,7 @@ components: "Address": "Rue de Tounais 42", "Country": "BE"}, "BirthDate": "1941-02-22", - "StaffMember": true + "StaffMember": true, } Address: type: object @@ -155,4 +302,4 @@ components: } responses: UnauthorizedError: - description: Access token is missing or invalid + description: Access token is missing or invalid \ No newline at end of file From e52b9270b7f9146c70c243da44a9b6af098728f5 Mon Sep 17 00:00:00 2001 From: Anthony Debucquoy Date: Thu, 7 Dec 2023 23:27:23 +0100 Subject: [PATCH 2/6] Finished RestApi --- Documents/proto/general/openapi.yaml | 399 ++++++++++++++++++--------- 1 file changed, 273 insertions(+), 126 deletions(-) diff --git a/Documents/proto/general/openapi.yaml b/Documents/proto/general/openapi.yaml index 415fe80..df79554 100644 --- a/Documents/proto/general/openapi.yaml +++ b/Documents/proto/general/openapi.yaml @@ -11,63 +11,114 @@ servers: paths: /ping: get: - summary: Test if the api is up. + summary: Vérifie l'état de l'api. responses: default: - description: Standard response to ping + description: Retourne pong content: text/plain: schema: type: string example: pong - /requests: - post: - summary: Faire une demande - tags: - - Student - responses: - '201': - description: Demande envoyée /users: get: - summary: Listere les utilisateurs + summary: Liste les utilisateurs tags: - SI security: - bearer: [] + parameters: + - in: query + name: type + required: false + schema: + type: string + enum: [teacher, student, secretary] responses: - default: - description: Success + '200': + content: + application/json: + schema: + type: array + items: + $ref: "#/components/schemas/User" + '401': + $ref: '#/components/responses/UnauthorizedError' - /user: # registration + /user: + get: + summary: Récupére ses informations + tags: + - Users + responses: + '200': + description: Ok + content: + application/json: + schema: + $ref: "#/components/schemas/User" post: summary: Créer un utilisateur tags: - - users + - Users + requestBody: + require: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + LastName: + type: string + FirstName: + type: string + Email: + type: string + Address: + $ref: "#/components/schemas/Address" + BirthDate: + type: string + description: Follow the iso 8601 ("YYYY-MM-DD") + example: + { + "LastName": "Doe" , + "FirstName": "John", + "Email": "John.Doe@example.com", + "Address": { + "Address": "Rue de Tounais 42", + "Country": "BE"}, + "BirthDate": "1941-02-22", + } responses: - '200': + '201': description: User created '401': $ref: '#/components/responses/UnauthorizedError' patch: summary: modifier ses informations tags: - - users + - Users security: - bearer: [] + requestBody: + require: true + content: + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/User' responses: - '200': - description: Informaitions modifiées + '201': + description: Informations modifiées '401': $ref: '#/components/responses/UnauthorizedError' /user/{mat}: get: - summary: get user's info + summary: Récupérer les informations d'un utilisateur tags: - Admin responses: '200': - description: User found + description: Utilisateur trouvé content: application/json: schema: @@ -85,65 +136,56 @@ paths: - Admin security: - bearer: [] + requestBody: + require: true + content: + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/User' responses: - '200': - description: Informaitions modifiées + '201': + description: Informations modifiées '401': $ref: '#/components/responses/UnauthorizedError' - /users/requests: - get: - summary: Lister les requetes d'utilisateurs - security: - - bearer: [] + /course: + post: + summary: Créer un nouveau cours tags: - - Secretaria - - SI - responses: - '200': - description: Liste les requètes - - - /user/{mat}/validate/{id}: - patch: - summary: Valider un utilisateur - tags: - - Secretaria - - SI - security: + - Courses + - Secretariat + security: - bearer: [] - parameters: - - name: mat - in: path - description: matricule de l'utilisateur - required: true - schema: - type: integer - - name: id - in: path - description: Identifiant de la demande - required: true - schema: - type: integer - - name: answer - in: header - description: valide l'utilisateur ou non - schema: - type: boolean + requestBody: + require: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + name: + type: string + courses: + type: array + items: + type: string responses: - '200': - description: Informaitions modifiées + '201': + description: Nouveau cours crée '401': $ref: '#/components/responses/UnauthorizedError' - /courses/{id}: get: - summary: Voir les informations sur un cours* + summary: Voir les informations sur un cours tags: - Courses responses: - '202': - description: success + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Course' parameters: - name: id in: path @@ -154,49 +196,107 @@ paths: summary: Suprimer un cours tags: - Courses - - Secretaria + - Secretariat security: - bearer: [] responses: - '202': - description: success + '201': + description: Success + '401': + $ref: '#/components/responses/UnauthorizedError' patch: summary: Changer les options du cours tags: - - Secretaria + - Secretariat - Courses security: - bearer: [] - parameters: - - name: professeur - in: header - required: true - schema: - type: string + requestBody: + require: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + name: + type: string + credits: + type: integer + faculty: + type: string + teachers: + type: object + $ref: '#/components/schemas/User' + assistants: + type: array + items: + $ref: '#/components/schemas/User' + example: + { + "name": "Math pour l'info", + "credits": 11, + "faculty": "science", + "Teacher": , + "Assistants": [ ] + } responses: - '202': - description: Bien ouej + '201': + description: Cours modifié + '401': + $ref: '#/components/responses/UnauthorizedError' /cursus: post: - summary: Créer un nouveau cours + summary: Créer un nouveau cursus tags: - cursus security: - bearer: [] + requestBody: + require: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + name: + type: string + credits: + type: integer + faculty: + type: string + teachers: + type: object + $ref: '#/components/schemas/User' + assistants: + type: array + items: + $ref: '#/components/schemas/User' + example: + { + "name": "Math pour l'info", + "credits": 11, + "faculty": "science", + "Teacher": , + "Assistants": [ ] + } responses: - '202': - description: success - - + '201': + description: Nouveau cursus crée + '401': + $ref: '#/components/responses/UnauthorizedError' /cursus/{id}: get: summary: Voir les informations sur un cursus tags: - cursus responses: - '202': - description: success + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Cursus' parameters: - name: id in: path @@ -210,30 +310,50 @@ paths: security: - bearer: [] responses: - '202': - description: success + '201': + description: Success + '401': + $ref: '#/components/responses/UnauthorizedError' patch: summary: Changer les options du cursus tags: - cursus security: - bearer: [] + requestBody: + require: true + content: + application/x-www-form-urlencoded: + schema: + type: object + properties: + name: + type: string + credits: + type: integer + faculty: + type: string + teachers: + type: object + $ref: '#/components/schemas/User' + assistants: + type: array + items: + $ref: '#/components/schemas/User' + example: + { + "name": "Math pour l'info", + "credits": 11, + "faculty": "science", + "Teacher": , + "Assistants": [ ] + } responses: - '202': - description: Bien ouej + '201': + description: Cours modifié + '401': + $ref: '#/components/responses/UnauthorizedError' - /courses: - post: - summary: Créer un nouveau cours - tags: - - Courses - - Secretaria - security: - - bearer: [] - responses: - '202': - description: success - components: securitySchemes: @@ -244,54 +364,81 @@ components: User: type: object properties: - RegNo: + regNo: type: integer - Photo: + photo: type: object - LastName: + lastName: type: string - FirstName: + firstName: type: string - Email: + email: type: string - Address: + address: $ref: "#/components/schemas/Address" - BirthDate: + birthDate: type: string description: Follow the iso 8601 ("YYYY-MM-DD") - StaffMember: - type: boolean example: { - "RegNo": 42, - "LastName": "Doe" , - "FirstName": "John", - "Email": "John.Doe@example.com", - "Address": { - "Address": "Rue de Tounais 42", - "Country": "BE"}, - "BirthDate": "1941-02-22", - "StaffMember": true, + "regNo": 42, + "lastName": "Doe" , + "firstName": "John", + "email": "John.Doe@example.com", + "address": { + "address": "Rue de Tounais 42", + "country": "BE"}, + "birthDate": "1941-02-22", + "staffMember": true, } Address: type: object properties: - Address: + address: type: string - Country: + country: type: string description: Follow the ISO-3166-1 alpha-2 standard. example: { - "Address": "Rue de Tounais 42", - "Country": "BE" + "address": "Rue de Tounais 42", + "country": "BE" + } + Course: + type: object + properties: + id: + type: integer + name: + type: string + credits: + type: integer + faculty: + type: string + teachers: + type: object + $ref: '#/components/schemas/User' + assistants: + type: array + items: + $ref: '#/components/schemas/User' + example: + { + "id": 42, + "name": "Math pour l'info", + "credits": 11, + "faculty": "science", + "Teacher": , + "Assistants": [ ] } Cursus: type: object properties: - Id: + id: type: integer - Courses: + name: + type: string + courses: type: array items: type: string @@ -302,4 +449,4 @@ components: } responses: UnauthorizedError: - description: Access token is missing or invalid \ No newline at end of file + description: Permission non accordée From 6beb538af51eafba7960413635c7ef2fe45a688d Mon Sep 17 00:00:00 2001 From: Bartha Maxime <231026@umons.ac.be> Date: Fri, 8 Dec 2023 13:34:12 +0100 Subject: [PATCH 3/6] =?UTF-8?q?bug=20fix=20ajout=20d=20=C3=A0=20require?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Documents/proto/general/openapi.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Documents/proto/general/openapi.yaml b/Documents/proto/general/openapi.yaml index df79554..028edc6 100644 --- a/Documents/proto/general/openapi.yaml +++ b/Documents/proto/general/openapi.yaml @@ -36,6 +36,7 @@ paths: enum: [teacher, student, secretary] responses: '200': + description: OK content: application/json: schema: @@ -62,7 +63,7 @@ paths: tags: - Users requestBody: - require: true + required: true content: application/x-www-form-urlencoded: schema: @@ -101,7 +102,7 @@ paths: security: - bearer: [] requestBody: - require: true + required: true content: application/x-www-form-urlencoded: schema: @@ -137,7 +138,7 @@ paths: security: - bearer: [] requestBody: - require: true + required: true content: application/x-www-form-urlencoded: schema: @@ -157,7 +158,7 @@ paths: security: - bearer: [] requestBody: - require: true + required: true content: application/x-www-form-urlencoded: schema: @@ -212,7 +213,7 @@ paths: security: - bearer: [] requestBody: - require: true + required: true content: application/x-www-form-urlencoded: schema: @@ -253,7 +254,7 @@ paths: security: - bearer: [] requestBody: - require: true + required: true content: application/x-www-form-urlencoded: schema: @@ -321,7 +322,7 @@ paths: security: - bearer: [] requestBody: - require: true + required: true content: application/x-www-form-urlencoded: schema: @@ -450,3 +451,4 @@ components: responses: UnauthorizedError: description: Permission non accordée + From b8897cd6979ab3f4bdcc466efd600c7d048cd4e2 Mon Sep 17 00:00:00 2001 From: Debucquoy Date: Fri, 8 Dec 2023 15:48:09 +0100 Subject: [PATCH 4/6] =?UTF-8?q?Englishisation=20des=20loies=20du=20march?= =?UTF-8?q?=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Documents/proto/general/openapi.yaml | 100 ++++++++++++--------------- 1 file changed, 45 insertions(+), 55 deletions(-) diff --git a/Documents/proto/general/openapi.yaml b/Documents/proto/general/openapi.yaml index 028edc6..6a2c29e 100644 --- a/Documents/proto/general/openapi.yaml +++ b/Documents/proto/general/openapi.yaml @@ -11,10 +11,10 @@ servers: paths: /ping: get: - summary: Vérifie l'état de l'api. + summary: Check the API status responses: default: - description: Retourne pong + description: pong content: text/plain: schema: @@ -22,7 +22,7 @@ paths: example: pong /users: get: - summary: Liste les utilisateurs + summary: list all users tags: - SI security: @@ -48,7 +48,7 @@ paths: /user: get: - summary: Récupére ses informations + summary: get informations about yourself tags: - Users responses: @@ -59,7 +59,7 @@ paths: schema: $ref: "#/components/schemas/User" post: - summary: Créer un utilisateur + summary: Create user tags: - Users requestBody: @@ -86,7 +86,7 @@ paths: "FirstName": "John", "Email": "John.Doe@example.com", "Address": { - "Address": "Rue de Tounais 42", + "Address": "Rue de Tournais 42", "Country": "BE"}, "BirthDate": "1941-02-22", } @@ -96,7 +96,7 @@ paths: '401': $ref: '#/components/responses/UnauthorizedError' patch: - summary: modifier ses informations + summary: Change informations about yourself tags: - Users security: @@ -109,21 +109,10 @@ paths: $ref: '#/components/schemas/User' responses: '201': - description: Informations modifiées + description: Successfully changed. '401': $ref: '#/components/responses/UnauthorizedError' /user/{mat}: - get: - summary: Récupérer les informations d'un utilisateur - tags: - - Admin - responses: - '200': - description: Utilisateur trouvé - content: - application/json: - schema: - $ref: "#/components/schemas/User" parameters: - name: mat in: path @@ -131,8 +120,19 @@ paths: required: true schema: type: integer + get: + summary: Get user's informations + tags: + - Admin + responses: + '200': + description: User found + content: + application/json: + schema: + $ref: "#/components/schemas/User" patch: - summary: modifier les informations d'un utilisateur + summary: Alter user's informations tags: - Admin security: @@ -145,13 +145,12 @@ paths: $ref: '#/components/schemas/User' responses: '201': - description: Informations modifiées + description: Successfully changed '401': $ref: '#/components/responses/UnauthorizedError' - /course: post: - summary: Créer un nouveau cours + summary: Create new course tags: - Courses - Secretariat @@ -172,12 +171,12 @@ paths: type: string responses: '201': - description: Nouveau cours crée + description: course created '401': $ref: '#/components/responses/UnauthorizedError' /courses/{id}: get: - summary: Voir les informations sur un cours + summary: see courses informations tags: - Courses responses: @@ -194,7 +193,7 @@ paths: schema: type: integer delete: - summary: Suprimer un cours + summary: delete a course tags: - Courses - Secretariat @@ -206,7 +205,7 @@ paths: '401': $ref: '#/components/responses/UnauthorizedError' patch: - summary: Changer les options du cours + summary: Change course options tags: - Secretariat - Courses @@ -242,13 +241,13 @@ paths: } responses: '201': - description: Cours modifié + description: Course modified '401': $ref: '#/components/responses/UnauthorizedError' /cursus: post: - summary: Créer un nouveau cursus + summary: Create a cursus tags: - cursus security: @@ -262,33 +261,24 @@ paths: properties: name: type: string - credits: - type: integer - faculty: - type: string - teachers: - type: object - $ref: '#/components/schemas/User' - assistants: - type: array + courses: + type: array items: - $ref: '#/components/schemas/User' + type: integer + description: id of courses example: { - "name": "Math pour l'info", - "credits": 11, - "faculty": "science", - "Teacher": , - "Assistants": [ ] + "name": "Bac1", + [] } responses: '201': - description: Nouveau cursus crée + description: Cursus created '401': $ref: '#/components/responses/UnauthorizedError' /cursus/{id}: get: - summary: Voir les informations sur un cursus + summary: See Cursus's informations tags: - cursus responses: @@ -305,7 +295,7 @@ paths: schema: type: integer delete: - summary: Suprimer un cursus + summary: Delete cursus tags: - cursus security: @@ -316,7 +306,7 @@ paths: '401': $ref: '#/components/responses/UnauthorizedError' patch: - summary: Changer les options du cursus + summary: Modify cursus tags: - cursus security: @@ -351,7 +341,7 @@ paths: } responses: '201': - description: Cours modifié + description: Cursus modified '401': $ref: '#/components/responses/UnauthorizedError' @@ -417,19 +407,20 @@ components: faculty: type: string teachers: - type: object - $ref: '#/components/schemas/User' + type: integer + description: user's id assistants: type: array items: - $ref: '#/components/schemas/User' + type: integer + description: user's id example: { "id": 42, "name": "Math pour l'info", "credits": 11, "faculty": "science", - "Teacher": , + "Teacher": 42, "Assistants": [ ] } Cursus: @@ -450,5 +441,4 @@ components: } responses: UnauthorizedError: - description: Permission non accordée - + description: Unauthorized access or missing bearer From b50e0db3fccb1edd208e0f0e80ac0954dab2542e Mon Sep 17 00:00:00 2001 From: Anthony Debucquoy Date: Sun, 10 Dec 2023 21:21:11 +0100 Subject: [PATCH 5/6] small changes --- Documents/proto/general/openapi.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documents/proto/general/openapi.yaml b/Documents/proto/general/openapi.yaml index 6a2c29e..adfc66c 100644 --- a/Documents/proto/general/openapi.yaml +++ b/Documents/proto/general/openapi.yaml @@ -1,7 +1,9 @@ openapi: 3.0.0 info: title: ClydeAPI - description: Clyde's api + description: + This is the Clyde's api documentation.
+ Each endpoints are organised by endpoints **AND** by extensions making it easier to navigate. version: 0.0.1 servers: @@ -51,6 +53,8 @@ paths: summary: get informations about yourself tags: - Users + security: + - bearer: [] responses: '200': description: Ok @@ -58,6 +62,8 @@ paths: application/json: schema: $ref: "#/components/schemas/User" + '401': + $ref: '#/components/responses/UnauthorizedError' post: summary: Create user tags: @@ -377,7 +383,7 @@ components: "firstName": "John", "email": "John.Doe@example.com", "address": { - "address": "Rue de Tounais 42", + "address": "Rue de Tournais 42", "country": "BE"}, "birthDate": "1941-02-22", "staffMember": true, @@ -392,7 +398,7 @@ components: description: Follow the ISO-3166-1 alpha-2 standard. example: { - "address": "Rue de Tounais 42", + "address": "Rue de Tournais 42", "country": "BE" } Course: From f0b2c31a066dc04e27655f25f6109c9fecbe3a7d Mon Sep 17 00:00:00 2001 From: Anthony Debucquoy Date: Sun, 10 Dec 2023 21:26:51 +0100 Subject: [PATCH 6/6] Adding all endpoint to "general" tag --- Documents/proto/general/openapi.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documents/proto/general/openapi.yaml b/Documents/proto/general/openapi.yaml index adfc66c..5054813 100644 --- a/Documents/proto/general/openapi.yaml +++ b/Documents/proto/general/openapi.yaml @@ -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: []