From c9dd2ea65c88cc53194c1a774b99bf25258835d9 Mon Sep 17 00:00:00 2001 From: apd-bbrewington Date: Wed, 13 Nov 2024 10:36:53 -0500 Subject: [PATCH 1/4] add missing "items:" for type array --- openapi-v3.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/openapi-v3.yaml b/openapi-v3.yaml index 230e083..bb6b9af 100644 --- a/openapi-v3.yaml +++ b/openapi-v3.yaml @@ -480,6 +480,8 @@ paths: name: pk__in schema: type: array + items: + type: string - in: query name: state schema: @@ -1233,6 +1235,8 @@ paths: name: pk__in schema: type: array + items: + type: string - in: query name: state schema: @@ -1541,6 +1545,8 @@ paths: name: project_id__in schema: type: array + items: + type: integer - in: query name: state schema: @@ -2157,6 +2163,8 @@ paths: name: project_id__in schema: type: array + items: + type: integer - in: query name: state schema: @@ -2230,6 +2238,8 @@ paths: name: project_id__in schema: type: array + items: + type: integer - in: query name: state schema: @@ -2303,6 +2313,8 @@ paths: name: project_id__in schema: type: array + items: + type: integer - in: query name: state schema: @@ -2352,6 +2364,8 @@ paths: name: dbt_version__in schema: type: array + items: + type: string - in: query name: deployment_type schema: @@ -2360,6 +2374,8 @@ paths: name: deployment_type__in schema: type: array + items: + type: string - in: query name: id__gt schema: @@ -2388,6 +2404,8 @@ paths: name: pk__in schema: type: array + items: + type: string - in: path name: project_id schema: @@ -2401,6 +2419,8 @@ paths: name: project_id__in schema: type: array + items: + type: integer - in: query name: state schema: @@ -3080,6 +3100,8 @@ paths: name: project_id__in schema: type: array + items: + type: integer - in: query name: remote_url schema: From 20c1bf5605c01f3f5051243f69a43945b2879137 Mon Sep 17 00:00:00 2001 From: apd-bbrewington Date: Wed, 13 Nov 2024 10:37:57 -0500 Subject: [PATCH 2/4] remove redundant write_only --- openapi-v3.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/openapi-v3.yaml b/openapi-v3.yaml index bb6b9af..fed0065 100644 --- a/openapi-v3.yaml +++ b/openapi-v3.yaml @@ -4961,7 +4961,6 @@ components: type: string private_key: title: Private Key - write_only: true type: string writeOnly: true format: password @@ -5022,13 +5021,11 @@ components: type: integer application_id: title: Application Id - write_only: true type: string writeOnly: true format: password application_secret: title: Application Secret - write_only: true type: string writeOnly: true format: password @@ -5456,13 +5453,11 @@ components: type: string client_id: title: Client Id - write_only: true type: string writeOnly: true format: password client_secret: title: Client Secret - write_only: true type: string writeOnly: true format: password @@ -9328,13 +9323,11 @@ components: type: boolean oauth_client_id: title: Oauth Client Id - write_only: true type: string writeOnly: true format: password oauth_client_secret: title: Oauth Client Secret - write_only: true type: string writeOnly: true format: password @@ -9665,7 +9658,6 @@ components: type: string token: title: Token - write_only: true type: string writeOnly: true format: password From 28ea607223e493bd269f2baae750c1c61edd6dbf Mon Sep 17 00:00:00 2001 From: apd-bbrewington Date: Wed, 13 Nov 2024 10:40:08 -0500 Subject: [PATCH 3/4] fix exclusiveMinimum (meant to be boolean) --- openapi-v3.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/openapi-v3.yaml b/openapi-v3.yaml index fed0065..69ef779 100644 --- a/openapi-v3.yaml +++ b/openapi-v3.yaml @@ -4951,7 +4951,8 @@ components: type: string timeout_seconds: title: Timeout Seconds - exclusiveMinimum: 0 + exclusiveMinimum: true + minimum: 0 maximum: 86400 type: integer private_key_id: @@ -8104,7 +8105,8 @@ components: port: title: Port default: 5432 - exclusiveMinimum: 0 + exclusiveMinimum: true + minimum: 0 maximum: 65535 type: integer required: @@ -8548,7 +8550,8 @@ components: port: title: Port default: 5432 - exclusiveMinimum: 0 + exclusiveMinimum: true + minimum: 0 maximum: 65535 type: integer required: @@ -9618,7 +9621,8 @@ components: port: title: Port default: 1433 - exclusiveMinimum: 0 + exclusiveMinimum: true + minimum: 0 maximum: 65535 type: integer retries: @@ -9795,7 +9799,8 @@ components: port: title: Port default: 443 - exclusiveMinimum: 0 + exclusiveMinimum: true + minimum: 0 maximum: 65535 type: integer adapter_id: From 9c454c7e47b6ad54ee96660d4d64432cd2663df5 Mon Sep 17 00:00:00 2001 From: apd-bbrewington Date: Wed, 13 Nov 2024 10:41:35 -0500 Subject: [PATCH 4/4] change const to enum --- openapi-v3.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi-v3.yaml b/openapi-v3.yaml index 69ef779..c8f3b6e 100644 --- a/openapi-v3.yaml +++ b/openapi-v3.yaml @@ -9679,7 +9679,7 @@ components: tmode: title: Tmode default: ANSI - const: ANSI + enum: [ANSI] type: string host: title: Host