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.
openAPIServeurEPA/paths/formation/formationbyid.yaml

31 lines
699 B

get:
tags:
- formations
operationId: getFormationById
description: Récupérer une formation par son id
parameters:
- $ref: ../../parameters/path/idFormation.yaml
responses:
'200':
$ref: ../../responses/formation/getFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml
delete:
tags:
- formations
operationId: deleteFormation
description: Supprimer une formation
parameters:
- $ref: ../../parameters/path/idFormation.yaml
responses:
'204':
$ref: ../../responses/formation/formationSupprimee.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml