diff --git a/api/api.yaml b/api/api.yaml index 6690b993..5494ecf1 100644 --- a/api/api.yaml +++ b/api/api.yaml @@ -97,7 +97,9 @@ paths: content: application/json: schema: - $ref: '../result/port.yaml#/components/schemas/Result.Port' + type: array + items: + $ref: '../result/port.yaml#/components/schemas/Result.Port' /results/capture: description: >- @@ -144,6 +146,8 @@ paths: content: application/json: schema: - $ref: '../result/flow.yaml#/components/schemas/Result.Flow' + type: array + items: + $ref: '../result/flow.yaml#/components/schemas/Result.Flow'