Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisTrezzini committed Apr 1, 2019
1 parent 3213bdb commit 9a2c152
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion back/config/packages/noxlogic_rate_limit.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
noxlogic_rate_limit:
storage_engine: redis
display_headers: false
display_headers: false
16 changes: 12 additions & 4 deletions back/src/Controller/CoreController.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,25 @@ public function dirtyAction()
* @Operation(
* tags={"Général"},
* summary="Se loger et recevoir un JSON Web Token",
* @SWG\Parameter(
* name="username",
* in="formData",
* required=true,
* type="string"
* ),
* @SWG\Parameter(
* name="password",
* in="formData",
* required=true,
* type="string"
* ),
* @SWG\Response(
* response="200",
* description="Requête traitée avec succès"
* ),
* @SWG\Response(
* response="401",
* description="Mauvaise combinaison username/password ou champ nom rempli"
* ),
* @SWG\Response(
* response="502",
* description="Erreur Proxy : l'utilisateur se connecte pour la première fois, mais le proxy DSI n'est pas configuré"
* )
* )
*
Expand Down
6 changes: 6 additions & 0 deletions back/src/Controller/Publications/EventsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,12 @@ public function deleteEventAction($slug)
* @Operation(
* tags={"Publications"},
* summary="Shotgunne un événement",
* @SWG\Parameter(
* name="motivation",
* in="formData",
* required=true,
* type="string",
* ),
* @SWG\Response(
* response="201",
* description="Requête traitée avec succès avec création d’un document"
Expand Down

0 comments on commit 9a2c152

Please sign in to comment.