mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-19 15:31:59 +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",
|
||||
"$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"]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user