Skip to content

Commit

Permalink
Add an optional description on response. (#4)
Browse files Browse the repository at this point in the history
A description attribute could be usefull to identify error causes.
  • Loading branch information
ggrebert authored Dec 13, 2022
1 parent f378d99 commit ea327ee
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions E-Intervention-v1.0.0.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,11 @@
"MAUVAIS_FORMAT",
"REF_INTERV_OI_INCONNUE"
]
},
"Description_Reponse": {
"type": "string",
"maxLength": 100,
"description": "Description de l'erreur"
}
}
},
Expand Down Expand Up @@ -482,6 +487,11 @@
"PM_INCONNU"
]
},
"Description_Reponse": {
"type": "string",
"maxLength": 100,
"description": "Description de l'erreur"
},
"Ref_Interv_OI": {
"type": "string",
"maxLength": 50,
Expand All @@ -508,6 +518,11 @@
],
"description": "0 si OK 1 si CHAMPS_NON_RENSEIGNE 2 si MAUVAIS_FORMAT 3 si CODE_OI_INCONNU 4 si PM_INCONNU\n"
},
"Description_Reponse": {
"type": "string",
"maxLength": 100,
"description": "Description de l'erreur"
},
"Libelle_Reponse": {
"type": "string",
"enum": [
Expand Down

0 comments on commit ea327ee

Please sign in to comment.