From 5ca9f6413639fd7d11edbe111cbe891de457420d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kol=C3=A1rik?= Date: Fri, 9 Aug 2024 16:43:36 +0200 Subject: [PATCH] docs: clarify locations type in responses --- public/v1/components/schemas.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/public/v1/components/schemas.yaml b/public/v1/components/schemas.yaml index dbba523b..abe3575d 100644 --- a/public/v1/components/schemas.yaml +++ b/public/v1/components/schemas.yaml @@ -597,9 +597,12 @@ components: probesCount: $ref: 'schemas.yaml#/components/schemas/MeasurementProbesCount' locations: - allOf: - - $ref: 'schemas.yaml#/components/schemas/MeasurementLocations' - - description: The locations you specified when creating the measurement. + type: array + description: | + The locations you specified when creating the measurement. + If you passed in an `id` of a previous measurement, the value will be filled in from that measurement. + items: + $ref: 'schemas.yaml#/components/schemas/MeasurementLocationOption' limit: allOf: - $ref: 'schemas.yaml#/components/schemas/MeasurementLimit'