File tree Expand file tree Collapse file tree
azure_devops_rust_api/src/service_endpoint Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ - Change ` ServiceEndpoint ` field to be optional:
11+ - ` description `
12+
1013## [ 0.30.0]
1114
1215### Changes
Original file line number Diff line number Diff line change @@ -1312,7 +1312,8 @@ pub struct ServiceEndpoint {
13121312 pub created_by : IdentityRef ,
13131313 pub data : serde_json:: Value ,
13141314 #[ doc = "Gets or sets the description of endpoint." ]
1315- pub description : String ,
1315+ #[ serde( default , skip_serializing_if = "Option::is_none" ) ]
1316+ pub description : Option < String > ,
13161317 #[ doc = "This is a deprecated field." ]
13171318 #[ serde(
13181319 rename = "groupScopeId" ,
@@ -1364,7 +1365,6 @@ impl ServiceEndpoint {
13641365 authorization : EndpointAuthorization ,
13651366 created_by : IdentityRef ,
13661367 data : serde_json:: Value ,
1367- description : String ,
13681368 id : String ,
13691369 is_ready : bool ,
13701370 is_shared : bool ,
@@ -1378,7 +1378,7 @@ impl ServiceEndpoint {
13781378 authorization,
13791379 created_by,
13801380 data,
1381- description,
1381+ description : None ,
13821382 group_scope_id : None ,
13831383 id,
13841384 is_ready,
Original file line number Diff line number Diff line change @@ -1042,11 +1042,11 @@ impl Patcher {
10421042 // Excluded
10431043 // administratorsGroup
10441044 // operationStatus
1045+ // description
10451046 r#"[
10461047 "authorization",
10471048 "createdBy",
10481049 "data",
1049- "description",
10501050 "id",
10511051 "isReady",
10521052 "isShared",
You can’t perform that action at this time.
0 commit comments