@@ -13,6 +13,7 @@ use restate_serde_util::SerdeableHeaderHashMap;
1313use restate_types:: identifiers:: ServiceRevision ;
1414use restate_types:: identifiers:: { DeploymentId , LambdaARN } ;
1515use restate_types:: schema:: deployment:: { EndpointLambdaCompression , ProtocolType } ;
16+ use restate_types:: schema:: info:: Info ;
1617use restate_types:: schema:: service:: ServiceMetadata ;
1718use serde:: { Deserialize , Serialize } ;
1819use serde_with:: serde_as;
@@ -186,6 +187,12 @@ pub struct RegisterDeploymentResponse {
186187 #[ serde( skip_serializing_if = "Option::is_none" ) ]
187188 #[ serde( default ) ]
188189 pub sdk_version : Option < String > ,
190+
191+ /// # Info
192+ ///
193+ /// List of configuration/deprecation information related to this deployment.
194+ #[ serde( default , skip_serializing_if = "Vec::is_empty" ) ]
195+ pub info : Vec < Info > ,
189196}
190197
191198#[ cfg_attr( feature = "schema" , derive( schemars:: JsonSchema ) ) ]
@@ -266,6 +273,12 @@ pub enum DeploymentResponse {
266273 ///
267274 /// List of services exposed by this deployment.
268275 services : Vec < ServiceNameRevPair > ,
276+
277+ /// # Info
278+ ///
279+ /// List of configuration/deprecation information related to this deployment.
280+ #[ serde( default , skip_serializing_if = "Vec::is_empty" ) ]
281+ info : Vec < Info > ,
269282 } ,
270283 #[ cfg_attr(
271284 feature = "schema" ,
@@ -331,6 +344,12 @@ pub enum DeploymentResponse {
331344 ///
332345 /// List of services exposed by this deployment.
333346 services : Vec < ServiceNameRevPair > ,
347+
348+ /// # Info
349+ ///
350+ /// List of configuration/deprecation information related to this deployment.
351+ #[ serde( default , skip_serializing_if = "Vec::is_empty" ) ]
352+ info : Vec < Info > ,
334353 } ,
335354}
336355
@@ -413,6 +432,12 @@ pub enum DetailedDeploymentResponse {
413432 ///
414433 /// List of services exposed by this deployment.
415434 services : Vec < ServiceMetadata > ,
435+
436+ /// # Info
437+ ///
438+ /// List of configuration/deprecation information related to this deployment.
439+ #[ serde( default , skip_serializing_if = "Vec::is_empty" ) ]
440+ info : Vec < Info > ,
416441 } ,
417442 #[ cfg_attr(
418443 feature = "schema" ,
@@ -479,6 +504,12 @@ pub enum DetailedDeploymentResponse {
479504 ///
480505 /// List of services exposed by this deployment.
481506 services : Vec < ServiceMetadata > ,
507+
508+ /// # Info
509+ ///
510+ /// List of configuration/deprecation information related to this deployment.
511+ #[ serde( default , skip_serializing_if = "Vec::is_empty" ) ]
512+ info : Vec < Info > ,
482513 } ,
483514}
484515
0 commit comments