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

183 lines
6.0 KiB

openapi: 3.0.0
info:
version: 1.3.7
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
- url: https://localhost:44393/api
description: url pour le serveur local en cours de développement
paths:
#Collaborateur
/collaborateurs:
$ref: ./paths/collaborateur/collaborateurs.yaml
/collaborateurs/count:
$ref: ./paths/collaborateur/collaborateursCount.yaml
/collaborateurs/{idCollaborateur}:
$ref: ./paths/collaborateur/collaborateurById.yaml
/collaborateurs/{idCollaborateur}/ep/referents:
$ref: ./paths/collaborateur/referentsPrecedentEPCollaborateur.yaml
/collaborateurs/{mail}/mail:
$ref: ./paths/collaborateur/collaborateurByMail.yaml
/collaborateurs/referent/{idReferent}:
$ref: ./paths/collaborateur/collaborateursReferent.yaml
/collaborateurs/referent/{idReferent}/count:
$ref: ./paths/collaborateur/collaborateursReferentCount.yaml
#Note
/notes/:
$ref: ./paths/note/notes.yaml
/notes/auteur/{idAuteur}:
$ref: ./paths/note/notesIdAuteur.yaml
/notes/auteur/{idAuteur}/count:
$ref: ./paths/note/notesIdAuteurCount.yaml
/notes/{idNote}:
$ref: ./paths/note/notesIdNote.yaml
#ReferentEP
/referentsep/collaborateur/{idCollaborateur}:
$ref: ./paths/referentep/referentIdCollaborateur.yaml
/referentsep/referent/{idReferent}:
$ref: ./paths/referentep/collaborateursIdReferent.yaml
#EP
/ep/{idCollaborateur}:
$ref: ./paths/ep/epIdCollaborateur.yaml
/ep/{idEP}:
$ref: ./paths/ep/epIdEp.yaml
/ep/{idEP}/rappelsignature:
$ref: ./paths/ep/epIdEpRappelSignature.yaml
/ep/encours:
$ref: ./paths/ep/epEnCours.yaml
/ep/encours/count:
$ref: ./paths/ep/epEnCoursCount.yaml
/ep/encours/collaborateur/{idCollaborateur}:
$ref: ./paths/ep/epEnCoursIdCollaborateur.yaml
/ep/encours/referent/{idReferent}:
$ref: ./paths/ep/epEnCoursIdReferent.yaml
/ep/encours/referent/{idReferent}/count:
$ref: ./paths/ep/epEnCoursIdReferentCount.yaml
/ep/signes:
$ref: ./paths/ep/epSignes.yaml
/ep/signes/count:
$ref: ./paths/ep/epSignesCount.yaml
/ep/signes/collaborateur/{idCollaborateur}:
$ref: ./paths/ep/epSignesIdCollaborateur.yaml
/ep/signes/referent/{idReferent}:
$ref: ./paths/ep/epSignesIdReferent.yaml
/ep/signes/referent/{idReferent}/count:
$ref: ./paths/ep/epSignesIdReferentCount.yaml
/ep/saisie/{idEP}:
$ref: ./paths/ep/epSaisieIdEp.yaml
/ep/saisie/collaborateur/{idCollaborateur}:
$ref: ./paths/ep/epSaisieCollaborateur.yaml
/ep/saisie/referent/{idEP}:
$ref: ./paths/ep/epSaisieReferent.yaml
/ep/participation/{idCollaborateur}:
$ref: ./paths/ep/epParticipationIdCollaborateur.yaml
/ep/participation/{idCollaborateur}/count:
$ref: ./paths/ep/epParticipationIdCollaborateurCount.yaml
#TypeEntretien
/typesentretien:
$ref: ./paths/ep/typesentretien.yaml
#Engagement
/engagements:
$ref: ./paths/engagement/engagements.yaml
/engagements/count:
$ref: ./paths/engagement/engagementsCount.yaml
/engagements/{idEngagement}:
$ref: ./paths/engagement/engagementsIdEngagement.yaml
#DemandeEPI
/demandesepi/{idDemandeEPI}:
$ref: ./paths/demandeepi/demandesEpiIdDemandeEpi.yaml
/demandesepi/collaborateur/{idCollaborateur}:
$ref: ./paths/demandeepi/demandesEpiDemandeIdCollaborateur.yaml
/demandesepi/collaborateur/{idCollaborateur}/count:
$ref: ./paths/demandeepi/demandesEpiDemandeIdCollaborateurCount.yaml
/demandesepi/demande/assistant:
$ref: ./paths/demandeepi/demandesEpiDemandeAssistant.yaml
/demandesepi/demande/collaborateur:
$ref: ./paths/demandeepi/demandesEpiDemandeCollaborateur.yaml
/demandesepi/demande/referent:
$ref: ./paths/demandeepi/demandesEpiDemandeReferent.yaml
/demandesepi/referent/{idReferent}:
$ref: ./paths/demandeepi/demandesEpiDemandeIdReferent.yaml
/demandesepi/referent/{idReferent}/count:
$ref: ./paths/demandeepi/demandesEpiDemandeIdReferentCount.yaml
#DemandeDelegation
/demandesdelegation/{idDemandeDelegation}:
$ref: ./paths/demandedelegation/demandesDelegationIdDemandeDelegation.yaml
/demandesdelegation/referent/{idReferent}:
$ref: ./paths/demandedelegation/demandesDelegationReferentIdReferent.yaml
#DemandeFormation
/demandesformation:
$ref: ./paths/demandeformation/demandesFormation.yaml
/demandesformation/count:
$ref: ./paths/demandeformation/demandesFormationCount.yaml
/demandesformation/{idDemandeFormation}:
$ref: ./paths/demandeformation/demandesFormationIdDemandeFormation.yaml
#OrigineDemandeFormation
/originesdemandeformation:
$ref: ./paths/demandeformation/originesDemandeFormation.yaml
#Formation
/formations:
$ref: ./paths/formation/formations.yaml
/formations/count:
$ref: ./paths/formation/formationsCount.yaml
/formations/{idFormation}:
$ref: ./paths/formation/formationsIdFormation.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 et évaluation
/participationsformation/{idCollaborateur}:
$ref: ./paths/participationformation/participationsCollaborateur.yaml
/participationsformation/{idParticipationFormation}/evaluation:
$ref: ./paths/participationformation/evaluation.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: []