Bonjour, nous avons généré le client d'api à partir de https://storage.gra.cloud.ovh.net/v1/AUTH_366279ce616242ebb14161b7991a8461/static/geoservices/swagger/itineraire.yaml Lorsque nous lançons les tests nous obtenons : <error message="JSON parse error: Can not deserialize instance of java.util.ArrayList out of START_OBJECT token; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.util.ArrayList out of START_OBJECT token at [Source: java.io.ByteArrayInputStream@1757cd72; line: 1, column: 164] (through reference chain: fr.gouv.agriculture.orion.geo.itineraire.client.model.Itineraire["geometry"])" type="org.springframework.http.converter.HttpMessageNotReadableException">org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Can not deserialize instance of java.util.ArrayList out of START_OBJECT token; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.util.ArrayList out of START_OBJECT token at [Source: java.io.ByteArrayInputStream@1757cd72; line: 1, column: 164] (through reference chain: fr.gouv.agriculture.orion.geo.itineraire.client.model.Itineraire["geometry"]) Nous avons corrigé ainsi: - Modification de itineraire.yaml: .... itineraire: type: "object" properties: start: $ref: "#/components/schemas/point" end: $ref: "#/components/schemas/point" geometry: type: "string" duration: type: "number" format: "float" distance: type: "number" format: "float" bbox: type: "string" departure: type: "string" format: "date" arrival: type: "string" format: "date" resource: type: "string" ... devient: ... itineraire: type: "object" properties: start: $ref: "#/components/schemas/point" end: $ref: "#/components/schemas/point" geometry: type: "array" items: $ref: "#/components/schemas/coordinates" duration: type: "number" format: "float" distance: type: "number" format: "float" bbox: type: "string" departure: type: "string" format: "date" arrival: type: "string" format: "date" resource: type: "string" resourceVersion: type: "string" ... mais cette modification ne suffit pas et dans la classe générée, nous avos : public class Itineraire { @JsonProperty("start") @@ -37,8 +38,8 @@ @JsonProperty("end") private String end = null; - @JsonProperty("geometry") - private List<Coordinates> geometry = null; + @JsonProperty("coordinates") + private List<Coordinates> geometry = null; /////////// Est-ce que vous pouvez nous guider s'il vous plaît ?