From 175093d93e15ec7064ee9acef94697e413e3b2ce Mon Sep 17 00:00:00 2001 From: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Date: Fri, 9 Jun 2023 12:33:21 +0530 Subject: [PATCH] Fix datamodel generate issue for 3.8 (#11934) --- .../security/credentials/gcpCredentials.json | 62 +++++++++---------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/openmetadata-spec/src/main/resources/json/schema/security/credentials/gcpCredentials.json b/openmetadata-spec/src/main/resources/json/schema/security/credentials/gcpCredentials.json index 7a10b77e9c8..52daba4279c 100644 --- a/openmetadata-spec/src/main/resources/json/schema/security/credentials/gcpCredentials.json +++ b/openmetadata-spec/src/main/resources/json/schema/security/credentials/gcpCredentials.json @@ -1,31 +1,31 @@ -{ - "$id": "https://open-metadata.org/security/credentials/gcpCredentials.json", - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "GCPCredentials", - "description": "GCP credentials configs.", - "type": "object", - "javaType": "org.openmetadata.schema.security.credentials.GCPCredentials", - "definitions": { - "gcpCredentialsPath": { - "title": "GCP Credentials Path", - "description": "Pass the path of file containing the GCP credentials info", - "type": "string" - } - }, - "properties": { - "gcpConfig": { - "title": "GCP Credentials Configuration", - "description": "We support two ways of authenticating to GCP i.e via GCP Credentials Values or GCP Credentials Path", - "oneOf": [ - { - "$ref": "gcpValues.json" - }, - { - "$ref": "#/definitions/gcpCredentialsPath" - } - ] - } - }, - "additionalProperties": false, - "required": ["gcpConfig"] -} \ No newline at end of file +{ + "$id": "https://open-metadata.org/security/credentials/gcpCredentials.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "GCPCredentials", + "description": "GCP credentials configs.", + "type": "object", + "javaType": "org.openmetadata.schema.security.credentials.GCPCredentials", + "definitions": { + "gcpCredentialsPath": { + "title": "GCP Credentials Path", + "description": "Pass the path of file containing the GCP credentials info", + "type": "string" + } + }, + "properties": { + "gcpConfig": { + "title": "GCP Credentials Configuration", + "description": "We support two ways of authenticating to GCP i.e via GCP Credentials Values or GCP Credentials Path", + "oneOf": [ + { + "$ref": "gcpValues.json" + }, + { + "$ref": "#/definitions/gcpCredentialsPath" + } + ] + } + }, + "additionalProperties": false, + "required": ["gcpConfig"] +} \ No newline at end of file