From ee9700cb8beafaf49c1dab81f2be89dac47497bb Mon Sep 17 00:00:00 2001 From: Andy Balogh Date: Wed, 7 Oct 2020 09:38:08 -0700 Subject: [PATCH] add column_names to result requests --- result/flow.yaml | 9 +++++++++ result/port.yaml | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/result/flow.yaml b/result/flow.yaml index ef06a17b..5ed56ac2 100644 --- a/result/flow.yaml +++ b/result/flow.yaml @@ -20,6 +20,15 @@ components: type: string x-constraint: - "/components/schemas/Flow/properties/name" + column_names: + description: >- + The names of Result.Flow properties to return. + If the list is empty then all properties will be returned. + type: array + items: + type: string + x-constraint: + - '/components/schemas/Result.Flow/properties/*' ingress_result_names: description: >- Add any configured Flow.Pattern.ingress_result_name values diff --git a/result/port.yaml b/result/port.yaml index 7ff7301a..09cfa91b 100644 --- a/result/port.yaml +++ b/result/port.yaml @@ -20,6 +20,15 @@ components: type: string x-constraint: - '/components/schemas/Port/properties/name' + column_names: + description: >- + The names of Result.Port properties to return. + If the list is empty then all properties will be returned. + type: array + items: + type: string + x-constraint: + - '/components/schemas/Result.Port/properties/*' Result.Port: type: object