Skip to content

Commit

Permalink
chore: passage de la doc de processed_at en optionnel (#3352)
Browse files Browse the repository at this point in the history
  • Loading branch information
rap2hpoutre authored Nov 9, 2023
1 parent 6b635ca commit 90c292c
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 46 deletions.
2 changes: 1 addition & 1 deletion server/src/jobs/hydrate/open-api/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const dossierApprenantSchemaV3WithErrors = dossierApprenantSchemaV3Base().extend
type: "string",
format: "YYYY-MM-DDT00:00:00Z",
}),
processed_at: z.string().openapi({
processed_at: z.string().optional().openapi({
description: "Date de traitement de l'effectif",
type: "string",
format: "YYYY-MM-DDT00:00:00Z",
Expand Down
89 changes: 44 additions & 45 deletions server/static/open-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -265,19 +265,19 @@
"type": "string",
"description": "Date de début de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-04-28T12:36:31.883Z"
"example": "2023-05-13T12:26:20.445Z"
},
"contrat_date_fin": {
"type": "string",
"description": "Date de fin de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"contrat_date_rupture": {
"type": "string",
"description": "Date de rupture du contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
}
},
"required": [
Expand Down Expand Up @@ -460,19 +460,19 @@
"type": "string",
"description": "Date de début de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-04-28T12:36:31.883Z"
"example": "2023-05-13T12:26:20.445Z"
},
"contrat_date_fin": {
"type": "string",
"description": "Date de fin de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"contrat_date_rupture": {
"type": "string",
"description": "Date de rupture du contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"validation_errors": {
"type": "array",
Expand Down Expand Up @@ -688,19 +688,19 @@
"type": "string",
"description": "Date de début de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-04-28T12:36:31.883Z"
"example": "2023-05-13T12:26:20.445Z"
},
"contrat_date_fin": {
"type": "string",
"description": "Date de fin de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"contrat_date_rupture": {
"type": "string",
"description": "Date de rupture du contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
}
},
"required": [
Expand Down Expand Up @@ -883,19 +883,19 @@
"type": "string",
"description": "Date de début de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-04-28T12:36:31.883Z"
"example": "2023-05-13T12:26:20.445Z"
},
"contrat_date_fin": {
"type": "string",
"description": "Date de fin de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"contrat_date_rupture": {
"type": "string",
"description": "Date de rupture du contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"validation_errors": {
"type": "array",
Expand Down Expand Up @@ -1043,19 +1043,19 @@
"type": "string",
"description": "Date de début de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-04-28T12:36:31.883Z"
"example": "2023-05-13T12:26:20.445Z"
},
"contrat_date_fin": {
"type": "string",
"description": "Date de fin de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"contrat_date_rupture": {
"type": "string",
"description": "Date de rupture du contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"nir_apprenant": {
"type": "string",
Expand Down Expand Up @@ -1114,13 +1114,13 @@
"type": "string",
"description": "Date de l'obtention du diplôme de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"date_exclusion_formation": {
"type": "string",
"description": "Date d'exclusion de l'apprenant de la formation, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"cause_exclusion_formation": {
"type": "string",
Expand Down Expand Up @@ -1160,19 +1160,19 @@
"type": "string",
"description": "Date de début de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-04-28T12:36:31.883Z"
"example": "2023-05-13T12:26:20.445Z"
},
"contrat_date_fin_2": {
"type": "string",
"description": "Date de fin de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"contrat_date_rupture_2": {
"type": "string",
"description": "Date de rupture du contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"cause_rupture_contrat_2": {
"type": "string",
Expand All @@ -1190,19 +1190,19 @@
"type": "string",
"description": "Date de début de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-04-28T12:36:31.883Z"
"example": "2023-05-13T12:26:20.445Z"
},
"contrat_date_fin_3": {
"type": "string",
"description": "Date de fin de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"contrat_date_rupture_3": {
"type": "string",
"description": "Date de rupture du contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"cause_rupture_contrat_3": {
"type": "string",
Expand All @@ -1220,19 +1220,19 @@
"type": "string",
"description": "Date de début de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-04-28T12:36:31.883Z"
"example": "2023-05-13T12:26:20.445Z"
},
"contrat_date_fin_4": {
"type": "string",
"description": "Date de fin de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"contrat_date_rupture_4": {
"type": "string",
"description": "Date de rupture du contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"cause_rupture_contrat_4": {
"type": "string",
Expand Down Expand Up @@ -1286,13 +1286,13 @@
"type": "string",
"description": "Date d'entrée de l'apprenant dans la formation, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-04-28T12:36:31.883Z"
"example": "2023-05-13T12:26:20.445Z"
},
"date_fin_formation": {
"type": "string",
"description": "Date de fin de la formation, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"etablissement_responsable_uai": {
"type": "string",
Expand Down Expand Up @@ -1478,19 +1478,19 @@
"type": "string",
"description": "Date de début de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-04-28T12:36:31.883Z"
"example": "2023-05-13T12:26:20.445Z"
},
"contrat_date_fin": {
"type": "string",
"description": "Date de fin de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"contrat_date_rupture": {
"type": "string",
"description": "Date de rupture du contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"nir_apprenant": {
"type": "string",
Expand Down Expand Up @@ -1549,13 +1549,13 @@
"type": "string",
"description": "Date de l'obtention du diplôme de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"date_exclusion_formation": {
"type": "string",
"description": "Date d'exclusion de l'apprenant de la formation, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"cause_exclusion_formation": {
"type": "string",
Expand Down Expand Up @@ -1595,19 +1595,19 @@
"type": "string",
"description": "Date de début de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-04-28T12:36:31.883Z"
"example": "2023-05-13T12:26:20.445Z"
},
"contrat_date_fin_2": {
"type": "string",
"description": "Date de fin de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"contrat_date_rupture_2": {
"type": "string",
"description": "Date de rupture du contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"cause_rupture_contrat_2": {
"type": "string",
Expand All @@ -1625,19 +1625,19 @@
"type": "string",
"description": "Date de début de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-04-28T12:36:31.883Z"
"example": "2023-05-13T12:26:20.445Z"
},
"contrat_date_fin_3": {
"type": "string",
"description": "Date de fin de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"contrat_date_rupture_3": {
"type": "string",
"description": "Date de rupture du contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"cause_rupture_contrat_3": {
"type": "string",
Expand All @@ -1655,19 +1655,19 @@
"type": "string",
"description": "Date de début de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-04-28T12:36:31.883Z"
"example": "2023-05-13T12:26:20.445Z"
},
"contrat_date_fin_4": {
"type": "string",
"description": "Date de fin de contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"contrat_date_rupture_4": {
"type": "string",
"description": "Date de rupture du contrat de l'apprenant, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"cause_rupture_contrat_4": {
"type": "string",
Expand Down Expand Up @@ -1721,13 +1721,13 @@
"type": "string",
"description": "Date d'entrée de l'apprenant dans la formation, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-04-28T12:36:31.883Z"
"example": "2023-05-13T12:26:20.445Z"
},
"date_fin_formation": {
"type": "string",
"description": "Date de fin de la formation, au format ISO-8601",
"format": "YYYY-MM-DD",
"example": "2023-09-25T12:36:31.883Z"
"example": "2023-10-10T12:26:20.444Z"
},
"etablissement_responsable_uai": {
"type": "string",
Expand Down Expand Up @@ -1864,7 +1864,6 @@
"etablissement_lieu_de_formation_siret",
"updated_at",
"created_at",
"processed_at",
"source",
"source_organisme_id",
"api_version",
Expand Down

0 comments on commit 90c292c

Please sign in to comment.