@@ -4293,6 +4293,7 @@ public decimal GetDecimalSquare(decimal d, Action<System.Net.Http.Headers.HttpRe
4293
4293
/// <summary>
4294
4294
/// GET api/SuperDemo/DecimalZero
4295
4295
/// </summary>
4296
+ [ System . ObsoleteAttribute ( "Just for test" , DiagnosticId = "abc" , UrlFormat = "efg" ) ]
4296
4297
public async Task < decimal > GetDecimalZeroAsync ( Action < System . Net . Http . Headers . HttpRequestHeaders > handleHeaders = null )
4297
4298
{
4298
4299
var requestUri = "api/SuperDemo/DecimalZero" ;
@@ -4314,6 +4315,7 @@ public async Task<decimal> GetDecimalZeroAsync(Action<System.Net.Http.Headers.Ht
4314
4315
/// <summary>
4315
4316
/// GET api/SuperDemo/DecimalZero
4316
4317
/// </summary>
4318
+ [ System . ObsoleteAttribute ( "Just for test" , DiagnosticId = "abc" , UrlFormat = "efg" ) ]
4317
4319
public decimal GetDecimalZero ( Action < System . Net . Http . Headers . HttpRequestHeaders > handleHeaders = null )
4318
4320
{
4319
4321
var requestUri = "api/SuperDemo/DecimalZero" ;
@@ -4506,6 +4508,7 @@ public double Getdouble(Action<System.Net.Http.Headers.HttpRequestHeaders> handl
4506
4508
/// Result of 0.1d + 0.2d - 0.3d
4507
4509
/// GET api/SuperDemo/DoubleZero
4508
4510
/// </summary>
4511
+ [ System . ObsoleteAttribute ( "for testing" ) ]
4509
4512
public async Task < double > GetDoubleZeroAsync ( Action < System . Net . Http . Headers . HttpRequestHeaders > handleHeaders = null )
4510
4513
{
4511
4514
var requestUri = "api/SuperDemo/DoubleZero" ;
@@ -4528,6 +4531,7 @@ public async Task<double> GetDoubleZeroAsync(Action<System.Net.Http.Headers.Http
4528
4531
/// Result of 0.1d + 0.2d - 0.3d
4529
4532
/// GET api/SuperDemo/DoubleZero
4530
4533
/// </summary>
4534
+ [ System . ObsoleteAttribute ( "for testing" ) ]
4531
4535
public double GetDoubleZero ( Action < System . Net . Http . Headers . HttpRequestHeaders > handleHeaders = null )
4532
4536
{
4533
4537
var requestUri = "api/SuperDemo/DoubleZero" ;
@@ -4639,6 +4643,7 @@ public System.DayOfWeek[] GetEnumArrayQ2(System.Collections.Generic.List<System.
4639
4643
/// <summary>
4640
4644
/// GET api/SuperDemo/FloatZero
4641
4645
/// </summary>
4646
+ [ System . ObsoleteAttribute ( ) ]
4642
4647
public async Task < float > GetFloatZeroAsync ( Action < System . Net . Http . Headers . HttpRequestHeaders > handleHeaders = null )
4643
4648
{
4644
4649
var requestUri = "api/SuperDemo/FloatZero" ;
@@ -4660,6 +4665,7 @@ public async Task<float> GetFloatZeroAsync(Action<System.Net.Http.Headers.HttpRe
4660
4665
/// <summary>
4661
4666
/// GET api/SuperDemo/FloatZero
4662
4667
/// </summary>
4668
+ [ System . ObsoleteAttribute ( ) ]
4663
4669
public float GetFloatZero ( Action < System . Net . Http . Headers . HttpRequestHeaders > handleHeaders = null )
4664
4670
{
4665
4671
var requestUri = "api/SuperDemo/FloatZero" ;
@@ -8644,19 +8650,9 @@ public class BigNumbers : object
8644
8650
8645
8651
[ System . Runtime . Serialization . DataContract ( Namespace = "http://fonlowdemo.com/2020/09" ) ]
8646
8652
[ System . SerializableAttribute ( ) ]
8647
- public class Company : DemoWebApi . DemoData . Base . Client . Entity
8653
+ public class BizEntity : DemoWebApi . DemoData . Base . Client . Entity
8648
8654
{
8649
8655
8650
- /// <summary>
8651
- /// BusinessNumber to be serialized as BusinessNum
8652
- /// </summary>
8653
- [ System . Runtime . Serialization . DataMember ( Name = "business_no" ) ]
8654
- [ System . Text . Json . Serialization . JsonPropertyName ( "business_no" ) ]
8655
- public string BusinessNumber { get ; set ; }
8656
-
8657
- [ System . Runtime . Serialization . DataMember ( ) ]
8658
- public string BusinessNumberType { get ; set ; }
8659
-
8660
8656
/// <summary>
8661
8657
/// Data type: Date
8662
8658
/// </summary>
@@ -8666,7 +8662,24 @@ public class Company : DemoWebApi.DemoData.Base.Client.Entity
8666
8662
8667
8663
[ System . Runtime . Serialization . DataMember ( ) ]
8668
8664
public System . DateOnly RegisterDate { get ; set ; }
8665
+ }
8666
+
8667
+ [ System . Runtime . Serialization . DataContract ( Namespace = "http://fonlowdemo.com/2020/09" ) ]
8668
+ [ System . SerializableAttribute ( ) ]
8669
+ public class Company : DemoWebApi . DemoData . Client . BizEntity
8670
+ {
8671
+
8672
+ /// <summary>
8673
+ /// BusinessNumber to be serialized as BusinessNum
8674
+ /// </summary>
8675
+ [ System . Runtime . Serialization . DataMember ( Name = "business_no" ) ]
8676
+ [ System . Text . Json . Serialization . JsonPropertyName ( "business_no" ) ]
8677
+ public string BusinessNumber { get ; set ; }
8669
8678
8679
+ [ System . Runtime . Serialization . DataMember ( ) ]
8680
+ public string BusinessNumberType { get ; set ; }
8681
+
8682
+ [ System . ObsoleteAttribute ( ) ]
8670
8683
[ System . Runtime . Serialization . DataMember ( ) ]
8671
8684
public string [ ] [ ] TextMatrix { get ; set ; }
8672
8685
@@ -8803,6 +8816,7 @@ public enum MedicalContraindiationResponseTypeTypeCode
8803
8816
T ,
8804
8817
}
8805
8818
8819
+ [ System . ObsoleteAttribute ( "Type deprecated for testing" ) ]
8806
8820
[ System . Runtime . Serialization . DataContract ( Namespace = "http://fonlowdemo.com/2020/09" ) ]
8807
8821
[ System . SerializableAttribute ( ) ]
8808
8822
public class MimsPackage : object
@@ -8834,6 +8848,18 @@ public class MimsPackage : object
8834
8848
8835
8849
[ System . Runtime . Serialization . DataMember ( ) ]
8836
8850
public string Tag { get ; set ; }
8851
+
8852
+ [ System . ObsoleteAttribute ( "Just for testing" , true ) ]
8853
+ [ System . Runtime . Serialization . DataMember ( ) ]
8854
+ public string TagForTest { get ; set ; }
8855
+
8856
+ [ System . ObsoleteAttribute ( "Just for testing" , DiagnosticId = "someId" , UrlFormat = "WhateverFormat" ) ]
8857
+ [ System . Runtime . Serialization . DataMember ( ) ]
8858
+ public string TagForTest2 { get ; set ; }
8859
+
8860
+ [ System . ObsoleteAttribute ( "Just for testing" , true , DiagnosticId = "someId" , UrlFormat = "WhateverFormat" ) ]
8861
+ [ System . Runtime . Serialization . DataMember ( ) ]
8862
+ public string TagForTest3 { get ; set ; }
8837
8863
}
8838
8864
8839
8865
[ System . Runtime . Serialization . DataContract ( Namespace = "http://fonlowdemo.com/2020/09" ) ]
@@ -8970,6 +8996,19 @@ public enum PhoneType
8970
8996
Fax ,
8971
8997
}
8972
8998
}
8999
+ namespace DemoWebApi . DemoDataEx . Client
9000
+ {
9001
+
9002
+
9003
+ [ System . Runtime . Serialization . DataContract ( Namespace = "http://fonlowdemo.com/2020/09" ) ]
9004
+ [ System . SerializableAttribute ( ) ]
9005
+ public class Trust : DemoWebApi . DemoData . Client . BizEntity
9006
+ {
9007
+
9008
+ [ System . Runtime . Serialization . DataMember ( ) ]
9009
+ public string Trustee { get ; set ; }
9010
+ }
9011
+ }
8973
9012
namespace DemoWebApi . Models . Client
8974
9013
{
8975
9014
0 commit comments