From 3a940d81e2ee0ee103f4c38384fb31c9bc4a6ec5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:40:17 +0100 Subject: [PATCH] Adding resolve_during_rolling_upgrade and _meta to the deprecation info API response (#3203) (#3214) (cherry picked from commit 6874bee86a33accfc85a0f4b80060f5560fce044) Co-authored-by: Keith Massey --- specification/migration/deprecations/types.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/specification/migration/deprecations/types.ts b/specification/migration/deprecations/types.ts index bc42d1ece4..4bf5fc7e07 100644 --- a/specification/migration/deprecations/types.ts +++ b/specification/migration/deprecations/types.ts @@ -17,6 +17,9 @@ * under the License. */ +import { Dictionary } from '@spec_utils/Dictionary' +import { UserDefinedValue } from '@spec_utils/UserDefinedValue' + export enum DeprecationLevel { none, info, @@ -27,9 +30,11 @@ export enum DeprecationLevel { } export class Deprecation { - details: string + details?: string /** The level property describes the significance of the issue. */ level: DeprecationLevel message: string url: string + resolve_during_rolling_upgrade: boolean + _meta?: Dictionary }