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/openapi.yaml

192 lines
6.2 KiB

openapi: 3.0.0
info:
version: 1.3.6
title: API du serveur de l'application de digitalisation des EP
description:
API qui sra utilisée afin de faire communiquer le client et le serveur ainsi que le serveur et la boîte noire.
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: http://localhost:3000/api
description: json-server pour les premiers tests
paths:
#Collaborateur
/collaborateur:
$ref: ./paths/collaborateur/collaborateurs.yaml
/collaborateur/count:
$ref: ./paths/collaborateur/collaborateurcount.yaml
/collaborateurs/{idCollaborateur}:
$ref: ./paths/collaborateur/collaborateurById.yaml
/collaborateurs/mail/{mail}:
$ref: ./paths/collaborateur/collaborateurByMail.yaml
/collaborateurs/referent/{idReferent}:
$ref: ./paths/collaborateur/collaborateursReferent.yaml
#Note
/notes/:
$ref: ./paths/note/notes.yaml
/notes/nouvellenote:
$ref: ./paths/note/nouvelleNote.yaml
/notes/{idNote}:
$ref: ./paths/note/noteById.yaml
/notes/{idNote}/updateNote:
$ref: ./paths/note/updateNote.yaml
/notes/auteur/{idReferent}:
$ref: ./paths/note/notesAuteur.yaml
/notes/auteur/{idReferent}/collaborateur/{idCollaborateur}:
$ref: ./paths/note/notesParCollaborateur.yaml
/notes/{idNote}/supprimer:
$ref: ./paths/note/supprimerNote.yaml
#Referent
/referents:
$ref: ./paths/referents/referents.yaml
/referents/{idReferent}:
$ref: ./paths/referents/referentById.yaml
/referents/collaborateur/{idCollaborateur}:
$ref: ./paths/referents/referentsByCollaborateur.yaml
/referents/actuel/collaborateur/{idCollaborateur}:
$ref: ./paths/referents/referentActuelByCollaborateur.yaml
#EP
/ep:
$ref: ./paths/ep/ep.yaml
/ep/{idEP}:
$ref: ./paths/ep/epById.yaml
/ep/collaborateur/{idCollaborateur}:
$ref: ./paths/ep/epByCollaborateur.yaml
/ep/collaborateur/{idCollaborateur}/prochain:
$ref: ./paths/ep/prochainEPCollaborateur.yaml
/ep/collaborateur/{idCollaborateur}/prochain/saisir:
$ref: ./paths/ep/saisirProchainEP.yaml
/ep/referent/{idReferent}:
$ref: ./paths/ep/epReferent.yaml
/ep/referent/{idReferent}/prochains:
$ref: ./paths/ep/prochainsEPReferent.yaml
/ep/{idEP}/rappelSignature:
$ref: ./paths/ep/rappelSignature.yaml
/ep/{idEP}/updateep:
$ref: ./paths/ep/updateEP.yaml
/ep/{idEP}/updatesaisie:
$ref: ./paths/ep/updateSaisieEP.yaml
/ep/enCours:
$ref: ./paths/ep/epEnCours.yaml
/ep/signes:
$ref: ./paths/ep/epSignes.yaml
#DemandeEPI
/demandesepi/collaborateur/{idCollaborateur}:
$ref: ./paths/demandeepi/demandesEPICollaborateur.yaml
/demandesepi/collaborateur/{idCollaborateur}/enCours:
$ref: ./paths/demandeepi/demandeEPIEnCours.yaml
/demandesepi/collaborateur/{idCollaborateur}/demande:
$ref: ./paths/demandeepi/demandeEPI.yaml
/demandesepi/referent/{idReferent}:
$ref: ./paths/demandeepi/demandesEPIReferent.yaml
/demandesepi/referent/{idReferent}/demande/{idCollaborateur}:
$ref: ./paths/demandeepi/creationEPI.yaml
/demandesepi/{idDemandeEPI}/repondre:
$ref: ./paths/demandeepi/reponseEPI.yaml
/demandesepi/{idDemandeEPI}/annuler:
$ref: ./paths/demandeepi/annulerDemandeEPI.yaml
/demandesepi/demandeassistante/{idCollaborateur}:
$ref: ./paths/demandeepi/demandeAssistante.yaml
#DemandeDelegation
/demandesdelegation/{idCollaborateur}:
$ref: ./paths/demandedelegation/demandesDelegation.yaml
/demandesdelegation/ep/{idEP}/{idCollaborateur}:
$ref: ./paths/demandedelegation/faireDemandeDelegation.yaml
/demandesdelegation/{idDemandeDelegation}/repondre:
$ref: ./paths/demandedelegation/repondreDemandeDelegation.yaml
#Engagement
/engagements:
$ref: ./paths/engagement/engagements.yaml
/engagements/enattente:
$ref: ./paths/engagement/engagementsEnAttente.yaml
/engagements/repondus:
$ref: ./paths/engagement/engagementsRepondus.yaml
/engagements/{idEngagement}/repondre:
$ref: ./paths/engagement/engagementReponse.yaml
#DemandeFormation
/demandeformation:
$ref: ./paths/demandeformation/demandesFormation.yaml
/demandeformation/{idDemandeFormation}/repondre:
$ref: ./paths/demandeformation/demandeFormationRepondre.yaml
/demandeformation/enattente:
$ref: ./paths/demandeformation/demandesFormationAttente.yaml
/demandeformation/repondus:
$ref: ./paths/demandeformation/demandesFormationRepondues.yaml
#OrigineDemandeFormation
/originesdemandesformation:
$ref: ./paths/demandeformation/originesDemandesFormation.yaml
#Theme
/themes:
$ref: ./paths/demandeformation/themes.yaml
#Formation
/formations:
$ref: ./paths/formation/formations.yaml
/formations/{idFormation}:
$ref: ./paths/formation/formationById.yaml
/formations/{idFormation}/update:
$ref: ./paths/formation/updateFormation.yaml
/formations/{idFormation}/supprimer:
$ref: ./paths/formation/supprimerFormation.yaml
/formations/prochaines:
$ref: ./paths/formation/prochainesFormations.yaml
/formations/realisees:
$ref: ./paths/formation/formationsRealisees.yaml
/formations/annulees:
$ref: ./paths/formation/formationsAnnulees.yaml
#OrigineFormation
/originesFormation:
$ref: ./paths/formation/originesFormation.yaml
#StatutFormation
/statutsFormation:
$ref: ./paths/formation/statutsFormation.yaml
#ModeFormation
/modesFormation:
$ref: ./paths/formation/modesFormation.yaml
#TypeFormation
/typesFormation:
$ref: ./paths/formation/typesFormation.yaml
#ParticipationFormation
/participationsformation/collaborateur/{idCollaborateur}:
$ref: ./paths/formation/participationByCollaborateur.yaml
/participationsformation/formation/{idFormation}:
$ref: ./paths/formation/participationByFormation.yaml
#Evaluation
/evaluations/participationformation/{idParticipationFormation}:
$ref: ./paths/formation/voirEvaluation.yaml
/evaluations/participationformation/{idParticipationFormation}/evaluer:
$ref: ./paths/formation/evaluer.yaml
components:
schemas:
$ref: ./schemas/_index.yaml
parameters:
$ref: ./parameters/_index.yaml
responses:
$ref: ./responses/_index.yaml
requestBodies:
$ref: ./requestbodies/_index.yaml
securitySchemes:
$ref: ./securityschemes/_index.yaml
security:
- bearerAuth: []