From 5e6fd733bf7ff0c6f817ba9ebe8b3a2cabb9aafb Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Tue, 15 Jul 2025 11:59:31 +0200 Subject: [PATCH] Deprecate properties of the application schema that we don't use. --- src/lib/openapi/spec/create-application-schema.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lib/openapi/spec/create-application-schema.ts b/src/lib/openapi/spec/create-application-schema.ts index 3b93daa528..70c7bbcc0a 100644 --- a/src/lib/openapi/spec/create-application-schema.ts +++ b/src/lib/openapi/spec/create-application-schema.ts @@ -6,13 +6,16 @@ export const createApplicationSchema = { description: 'Reported application information from Unleash SDKs', properties: { appName: { - description: 'Name of the application', + deprecated: true, + description: + 'Deprecated: Name of the application. This property is ignored. The app name is taken from the URL instead.', type: 'string', example: 'accounting', }, sdkVersion: { + deprecated: true, description: - 'Which SDK and version the application reporting uses. Typically represented as `:`', + 'Deprecated: Which SDK and version the application reporting uses. Typically represented as `:`. This is not used in the client_applications db table.', type: 'string', example: 'unleash-client-java:8.0.0', },