You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
623 B

post:
tags:
- notes
operationId: nouvelleNote
description: Ajouter une nouvelle note
requestBody:
$ref: ../../requestbodies/note.yaml
responses:
'201':
$ref: ../../responses/note/noteCreee.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
put:
tags:
- notes
operationId: updateNote
description: Mettre à jour une note
requestBody:
$ref: ../../requestbodies/note.yaml
responses:
'200':
$ref: ../../responses/note/updateNote.yaml
'201':
$ref: ../../responses/note/noteCreee.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml