From 76054eae9a34efefbe9c8138817f788de3d7dcc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Trevi=C3=B1o?= Date: Sun, 6 Dec 2026 04:07:13 -0600 Subject: [PATCH] API client: the relation's reason --- openapi.json | 11 +++++++++++ src/app/api/models/relation.ts | 1 + 2 files changed, 12 insertions(+) diff --git a/openapi.json b/openapi.json index 771c534..2f41ff9 100644 --- a/openapi.json +++ b/openapi.json @@ -1699,6 +1699,17 @@ ], "title": "Q" }, + "reason": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Reason" + }, "reference_probability": { "title": "Reference Probability", "type": "number" diff --git a/src/app/api/models/relation.ts b/src/app/api/models/relation.ts index a1b7505..0e7e36f 100644 --- a/src/app/api/models/relation.ts +++ b/src/app/api/models/relation.ts @@ -19,6 +19,7 @@ export interface Relation { outcome_code: string; probability: number; q: (number | null); + reason?: (string | null); reference_probability: number; z: number; zone: string;