mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-21 08:21:40 +00:00
Fix datamodel generate issue for 3.8 (#11934)
This commit is contained in:
parent
caabe89f9c
commit
175093d93e
@ -1,31 +1,31 @@
|
|||||||
{
|
{
|
||||||
"$id": "https://open-metadata.org/security/credentials/gcpCredentials.json",
|
"$id": "https://open-metadata.org/security/credentials/gcpCredentials.json",
|
||||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
"title": "GCPCredentials",
|
"title": "GCPCredentials",
|
||||||
"description": "GCP credentials configs.",
|
"description": "GCP credentials configs.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"javaType": "org.openmetadata.schema.security.credentials.GCPCredentials",
|
"javaType": "org.openmetadata.schema.security.credentials.GCPCredentials",
|
||||||
"definitions": {
|
"definitions": {
|
||||||
"gcpCredentialsPath": {
|
"gcpCredentialsPath": {
|
||||||
"title": "GCP Credentials Path",
|
"title": "GCP Credentials Path",
|
||||||
"description": "Pass the path of file containing the GCP credentials info",
|
"description": "Pass the path of file containing the GCP credentials info",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"properties": {
|
"properties": {
|
||||||
"gcpConfig": {
|
"gcpConfig": {
|
||||||
"title": "GCP Credentials Configuration",
|
"title": "GCP Credentials Configuration",
|
||||||
"description": "We support two ways of authenticating to GCP i.e via GCP Credentials Values or GCP Credentials Path",
|
"description": "We support two ways of authenticating to GCP i.e via GCP Credentials Values or GCP Credentials Path",
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{
|
{
|
||||||
"$ref": "gcpValues.json"
|
"$ref": "gcpValues.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/definitions/gcpCredentialsPath"
|
"$ref": "#/definitions/gcpCredentialsPath"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": ["gcpConfig"]
|
"required": ["gcpConfig"]
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user