From daac00518dcd03312fcb5f8461182f29f601d0f7 Mon Sep 17 00:00:00 2001 From: Max Hao Date: Wed, 14 Jan 2026 15:04:57 +0800 Subject: [PATCH] fix: update validation for quality score array in topsort-api-v2.yml --- topsort-api-v2.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/topsort-api-v2.yml b/topsort-api-v2.yml index cc4f86f..b26a61e 100644 --- a/topsort-api-v2.yml +++ b/topsort-api-v2.yml @@ -1563,17 +1563,15 @@ components: with matching array index. If given, these values will be combined with our internal quality scores to provide a - score - - that better represents the relevance of the participating products. + score that better represents the relevance of the participating products. Note that the length of this array must be the same as the length of the `ids` array and - - that the values must be between 0 and 1. + that the values must be greater than 0 and less than or equal to 1. items: type: number maximum: 1 exclusiveMinimum: 0 + minimum: 0 examples: - 0.75 format: double