Skip to content

Commit 3a940d8

Browse files
Adding resolve_during_rolling_upgrade and _meta to the deprecation info API response (#3203) (#3214)
(cherry picked from commit 6874bee) Co-authored-by: Keith Massey <[email protected]>
1 parent bd46f4a commit 3a940d8

File tree

1 file changed

+6
-1
lines changed
  • specification/migration/deprecations

1 file changed

+6
-1
lines changed

specification/migration/deprecations/types.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
* under the License.
1818
*/
1919

20+
import { Dictionary } from '@spec_utils/Dictionary'
21+
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
22+
2023
export enum DeprecationLevel {
2124
none,
2225
info,
@@ -27,9 +30,11 @@ export enum DeprecationLevel {
2730
}
2831

2932
export class Deprecation {
30-
details: string
33+
details?: string
3134
/** The level property describes the significance of the issue. */
3235
level: DeprecationLevel
3336
message: string
3437
url: string
38+
resolve_during_rolling_upgrade: boolean
39+
_meta?: Dictionary<string, UserDefinedValue>
3540
}

0 commit comments

Comments
 (0)