Fix datamodel generate issue for 3.8 (#11934)

This commit is contained in:
Mayur Singal 2023-06-09 12:33:21 +05:30 committed by GitHub
parent caabe89f9c
commit 175093d93e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"]
}
{
"$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"]
}