@@ -21,17 +21,17 @@ public static class EnumMember
2121 {
2222 public static InputEnumTypeValue Int32 ( string name , int value )
2323 {
24- return new InputEnumTypeValue ( name , value , InputPrimitiveType . Int32 , $ "{ name } description") ;
24+ return new InputEnumTypeValue ( name , value , InputPrimitiveType . Int32 , null , $ "{ name } description") ;
2525 }
2626
2727 public static InputEnumTypeValue Float32 ( string name , float value )
2828 {
29- return new InputEnumTypeValue ( name , value , InputPrimitiveType . Float32 , $ "{ name } description") ;
29+ return new InputEnumTypeValue ( name , value , InputPrimitiveType . Float32 , null , $ "{ name } description") ;
3030 }
3131
3232 public static InputEnumTypeValue String ( string name , string value )
3333 {
34- return new InputEnumTypeValue ( name , value , InputPrimitiveType . String , $ "{ name } description") ;
34+ return new InputEnumTypeValue ( name , value , InputPrimitiveType . String , null , $ "{ name } description") ;
3535 }
3636 }
3737
@@ -87,6 +87,7 @@ public static InputParameter Parameter(
8787 return new InputParameter (
8888 name ,
8989 nameInRequest ?? name ,
90+ null ,
9091 $ "{ name } description",
9192 type ,
9293 location ,
@@ -127,10 +128,11 @@ public static InputEnumType Enum(
127128 name ,
128129 access ,
129130 null ,
131+ null ,
130132 $ "{ name } description",
131133 usage ,
132134 underlyingType ,
133- values is null ? [ new InputEnumTypeValue ( "Value" , 1 , InputPrimitiveType . Int32 , "Value description" ) ] : [ .. values ] ,
135+ values is null ? [ new InputEnumTypeValue ( "Value" , 1 , InputPrimitiveType . Int32 , null , "Value description" ) ] : [ .. values ] ,
134136 isExtensible ) ;
135137 }
136138
@@ -141,11 +143,13 @@ public static InputModelProperty Property(
141143 bool isReadOnly = false ,
142144 bool isDiscriminator = false ,
143145 string ? wireName = null ,
146+ string ? summary = null ,
144147 string ? description = null )
145148 {
146149 return new InputModelProperty (
147150 name ,
148151 wireName ?? name ,
152+ summary ,
149153 description ?? $ "Description for { name } ",
150154 type ,
151155 isRequired ,
@@ -171,6 +175,7 @@ public static InputModelType Model(
171175 name ,
172176 access ,
173177 null ,
178+ null ,
174179 $ "{ name } description",
175180 usage ,
176181 [ .. propertiesList ] ,
@@ -208,6 +213,7 @@ public static InputOperation Operation(
208213 return new InputOperation (
209214 name ,
210215 null ,
216+ null ,
211217 $ "{ name } description",
212218 null ,
213219 access ,
@@ -242,6 +248,7 @@ public static InputClient Client(string name, IEnumerable<InputOperation>? opera
242248 {
243249 return new InputClient (
244250 name ,
251+ null ,
245252 $ "{ name } description",
246253 operations is null ? [ ] : [ .. operations ] ,
247254 parameters is null ? [ ] : [ .. parameters ] ,
0 commit comments