salutcesmoileo #4

Merged
tonitch merged 10 commits from salutcesmoileo into master 2023-12-14 14:37:27 +01:00
Showing only changes of commit bab117a421 - Show all commits

View File

@ -373,7 +373,7 @@ paths:
summary : Get an array of every register requests summary : Get an array of every register requests
tags : tags :
- RegisterRequests - RegisterRequests
- StudentRegistration - Ext (Student Registration)
responses : responses :
'200': '200':
description : OK description : OK
@ -390,7 +390,7 @@ paths:
summary : Get all the data composing a register request summary : Get all the data composing a register request
tags : tags :
- RegisterRequests - RegisterRequests
- StudentRegistration - Ext (Student Registration)
tonitch marked this conversation as resolved Outdated

PAS BIEN VAIS TE FRAPPER AVEC MA GROSSSE BATTE

PAS BIEN VAIS TE FRAPPER AVEC MA GROSSSE BATTE
responses : responses :
'200': '200':
description : OK description : OK
@ -413,7 +413,7 @@ paths:
summary: Change the state of a register request summary: Change the state of a register request

tu peux ajouter la ligne
enum: blop1, blop2, blop3, ...
en dessous et au même niveau que type pour spécifier les différent paramètres disponible.

tu peux ajouter la ligne `enum: blop1, blop2, blop3, ...` en dessous et au même niveau que type pour spécifier les différent paramètres disponible.
tags: tags:
- RegisterRequests - RegisterRequests

si tu appliques les précédents commentaire tu as soit le choix de laisser le post dans /Requests/{type} soit de le mettre avec /Requests et dans ce cas il suffit de mettre le type en paramètre dans requestBody ou dans query (je pense que requestBody serait mieux dans le cas présent)

si tu appliques les précédents commentaire tu as soit le choix de laisser le post dans `/Requests/{type}` soit de le mettre avec `/Requests` et dans ce cas il suffit de mettre le type en paramètre dans `requestBody` ou dans `query` (je pense que requestBody serait mieux dans le cas présent)
- StudentRegistration - Ext (Student Registration)
tonitch marked this conversation as resolved Outdated

PAS studentRegistrattion

PAS studentRegistrattion
security: security:
- bearer: [] - bearer: []
requestBody: requestBody:
@ -436,7 +436,7 @@ paths:
summary: Add a new register request summary: Add a new register request
tags : tags :
- RegisterRequests - RegisterRequests
- StudentRegistration - Ext (Student Registration)
security: security:
- bearer: [] - bearer: []
tonitch marked this conversation as resolved
Review

Il manque un /
/Requests/{type}/{id}

Il manque un / `/Requests/{type}/{id}`
requestBody: requestBody:
@ -456,7 +456,7 @@ paths:
summary : Get an array of every reregister requests summary : Get an array of every reregister requests
tags : tags :
- ReregisterRequests - ReregisterRequests
- StudentRegistration - Ext (Student Registration)
responses : responses :
'200': '200':
description : OK description : OK
@ -470,7 +470,7 @@ paths:
summary: Add a new ReRegister request summary: Add a new ReRegister request
tags : tags :
- ReregisterRequests - ReregisterRequests
- StudentRegistration - Ext (Student Registration)
security: security:
- bearer: [] - bearer: []
requestBody: requestBody:
@ -497,7 +497,7 @@ paths:
summary : get the data of a single reregistration request summary : get the data of a single reregistration request
tags : tags :
- ReregisterRequests - ReregisterRequests
- StudentRegistration - Ext (Student Registration)
responses : responses :
'200': '200':
description : OK description : OK
@ -509,7 +509,7 @@ paths:
summary: Change the state of a reregister request summary: Change the state of a reregister request
tags: tags:
- ReregisterRequests - ReregisterRequests
- StudentRegistration - Ext (Student Registration)
security: security:
- bearer: [] - bearer: []
requestBody: requestBody:
@ -531,7 +531,7 @@ paths:
summary : Get an array of every scholarship requests summary : Get an array of every scholarship requests
tags : tags :
- ScholarshipRequests - ScholarshipRequests
- StudentRegistration - Ext (Student Registration)
responses : responses :
'200': '200':
description : OK description : OK
@ -545,7 +545,7 @@ paths:
summary: Add a new scholarship request summary: Add a new scholarship request

peut-être rajouter user dans les tags ?

peut-être rajouter user dans les tags ?

les tags sont fixs !

les tags sont fixs !
tags : tags :
- ScholarshipRequests - ScholarshipRequests
- StudentRegistration - Ext (Student Registration)
security: security:
- bearer: [] - bearer: []
requestBody: requestBody:
@ -572,7 +572,7 @@ paths:
summary : get the data of a single scholarship request summary : get the data of a single scholarship request
tags : tags :
- ScholarshipRequests - ScholarshipRequests
- StudentRegistration - Ext (Student Registration)
responses : responses :
'200': '200':
description : OK description : OK
@ -584,7 +584,7 @@ paths:
summary: Change the state of a scholarship request summary: Change the state of a scholarship request
tags: tags:
- ScholarshipRequests - ScholarshipRequests
- StudentRegistration - Ext (Student Registration)
security: security:
- bearer: [] - bearer: []
requestBody: requestBody:
@ -608,7 +608,7 @@ paths:
summary : Get an array of every unregister requests summary : Get an array of every unregister requests
tags : tags :
- UnregisterRequests - UnregisterRequests
- StudentRegistration - Ext (Student Registration)
responses : responses :
'200': '200':
description : OK description : OK
@ -622,7 +622,7 @@ paths:
summary: Add a new unregister request summary: Add a new unregister request
tags : tags :
- UnregisterRequests - UnregisterRequests
- StudentRegistration - Ext (Student Registration)
security: security:
- bearer: [] - bearer: []
requestBody: requestBody:
@ -649,7 +649,7 @@ paths:
summary : get the data of a single unregistration request summary : get the data of a single unregistration request
tags : tags :
- UnregisterRequests - UnregisterRequests
- StudentRegistration - Ext (Student Registration)
responses : responses :
'200': '200':
description : OK description : OK
@ -661,7 +661,7 @@ paths:
summary: Change the state of a unregister request summary: Change the state of a unregister request
tags: tags:
- UnregisterRequests - UnregisterRequests
- StudentRegistration - Ext (Student Registration)
security: security:
- bearer: [] - bearer: []
requestBody: requestBody:
@ -684,7 +684,7 @@ paths:
summary : Get an array of every exemptions requests summary : Get an array of every exemptions requests
tags : tags :
- ExemptionRequests - ExemptionRequests
- StudentRegistration - Ext (Student Registration)
responses : responses :
'200': '200':
description : OK description : OK
@ -699,7 +699,7 @@ paths:
summary: Add a new exemption request summary: Add a new exemption request
tags : tags :
- ExemptionRequests - ExemptionRequests
- StudentRegistration - Ext (Student Registration)
security: security:
- bearer: [] - bearer: []
requestBody: requestBody:
@ -727,7 +727,7 @@ paths:
summary : get the data of a single exemption request summary : get the data of a single exemption request
tags : tags :
- ExemptionRequests - ExemptionRequests
- StudentRegistration - Ext (Student Registration)
responses : responses :
'200': '200':
description : OK description : OK
@ -739,7 +739,7 @@ paths:
summary: Change the state of a exemption request summary: Change the state of a exemption request
tags: tags:
- ExemptionRequests - ExemptionRequests
- StudentRegistration - Ext (Student Registration)
security: security:
- bearer: [] - bearer: []
requestBody: requestBody: