From 9d006ec4d33bc4cdaaec10e894939116b8147a4b Mon Sep 17 00:00:00 2001 From: Keith Massey Date: Mon, 2 Dec 2024 13:14:22 -0600 Subject: [PATCH] Adding resolve_during_rolling_upgrade and _meta to the deprecation info API response --- 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 }