dnum-mi / referentiel-applications

MIT License
2 stars 0 forks source link

:bug: [Ajout à discuter][BUG]la signature du swagger sur PUT organisations n'est pas bonne #39

Open Carolinedanslesnuages opened 1 month ago

Carolinedanslesnuages commented 1 month ago

la définition de via PUT /api/organisations/{id} me donne

{
  "label": "string",
  "description": "string",
  "organisationcode": "strin"
}
```json
J'ai pu insérer via PUT /api/organisations/{id}
```json
{
    "id": "b96f4508-27c1-4c67-bcc7-a2475f9bef10",
    "organisationunitid":"b96f4508-27c1-4c67-bcc7-a2475f9bef10",
    "parentid": "b96f4508-27c1-4c67-bcc7-a2475f9bef10",
    "label": "Secrétariat général pour l'administration du ministère de l'Intérieur - Zone de défense Sud-Est",
    "description": "https://lannuaire.service-public.fr/auvergne-rhone-alpes/rhone/a2319fb8-b6eb-424e-bbea-8a34ef88fa9d",
    "organisationcode": "SGAMI",
    "comments": "test PUT"
  }

En rapport avec #41

CMentG commented 6 days ago

A confirmer