fix: enable additional properties for indexingError.json (#20752)

This commit is contained in:
Imri Paran 2025-04-17 11:45:21 +02:00 committed by GitHub
parent 89dab09376
commit d9eaa8450a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

@ -2,7 +2,7 @@
"$id": "https://open-metadata.org/schema/system/indexingError.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "IndexingAppError",
"description": "This schema defines Event Publisher Job Error Schema.",
"description": "This schema defines Event Publisher Job Error Schema. Additional properties exist for backward compatibility. Don't use it.",
"type": "object",
"javaType": "org.openmetadata.schema.system.IndexingError",
"definitions": {
@ -43,5 +43,5 @@
"type": "integer"
}
},
"additionalProperties": false
"additionalProperties": true
}

View File

@ -11,7 +11,8 @@
* limitations under the License.
*/
/**
* This schema defines Event Publisher Job Error Schema.
* This schema defines Event Publisher Job Error Schema. Additional properties exist for
* backward compatibility. Don't use it.
*/
export interface IndexingError {
errorSource?: ErrorSource;
@ -23,6 +24,7 @@ export interface IndexingError {
stackTrace?: string;
submittedCount?: number;
successCount?: number;
[property: string]: any;
}
export enum ErrorSource {