@@ -19,60 +19,57 @@ public class OpenApiComponents : IOpenApiSerializable, IOpenApiExtensible
1919 /// <summary>
2020 /// An object to hold reusable <see cref="IOpenApiSchema"/> Objects.
2121 /// </summary>
22- public IDictionary < string , IOpenApiSchema > ? Schemas { get ; set ; } = new Dictionary < string , IOpenApiSchema > ( ) ;
22+ public IDictionary < string , IOpenApiSchema > ? Schemas { get ; set ; }
2323
2424 /// <summary>
2525 /// An object to hold reusable <see cref="IOpenApiResponse"/> Objects.
2626 /// </summary>
27- public IDictionary < string , IOpenApiResponse > ? Responses { get ; set ; } = new Dictionary < string , IOpenApiResponse > ( ) ;
27+ public IDictionary < string , IOpenApiResponse > ? Responses { get ; set ; }
2828
2929 /// <summary>
3030 /// An object to hold reusable <see cref="IOpenApiParameter"/> Objects.
3131 /// </summary>
32- public IDictionary < string , IOpenApiParameter > ? Parameters { get ; set ; } =
33- new Dictionary < string , IOpenApiParameter > ( ) ;
32+ public IDictionary < string , IOpenApiParameter > ? Parameters { get ; set ; }
3433
3534 /// <summary>
3635 /// An object to hold reusable <see cref="OpenApiExample"/> Objects.
3736 /// </summary>
38- public IDictionary < string , IOpenApiExample > ? Examples { get ; set ; } = new Dictionary < string , IOpenApiExample > ( ) ;
37+ public IDictionary < string , IOpenApiExample > ? Examples { get ; set ; }
3938
4039 /// <summary>
4140 /// An object to hold reusable <see cref="IOpenApiRequestBody"/> Objects.
4241 /// </summary>
43- public IDictionary < string , IOpenApiRequestBody > ? RequestBodies { get ; set ; } =
44- new Dictionary < string , IOpenApiRequestBody > ( ) ;
42+ public IDictionary < string , IOpenApiRequestBody > ? RequestBodies { get ; set ; }
4543
4644 /// <summary>
4745 /// An object to hold reusable <see cref="IOpenApiHeader"/> Objects.
4846 /// </summary>
49- public IDictionary < string , IOpenApiHeader > ? Headers { get ; set ; } = new Dictionary < string , IOpenApiHeader > ( ) ;
47+ public IDictionary < string , IOpenApiHeader > ? Headers { get ; set ; }
5048
5149 /// <summary>
5250 /// An object to hold reusable <see cref="IOpenApiSecurityScheme"/> Objects.
5351 /// </summary>
54- public IDictionary < string , IOpenApiSecurityScheme > ? SecuritySchemes { get ; set ; } =
55- new Dictionary < string , IOpenApiSecurityScheme > ( ) ;
52+ public IDictionary < string , IOpenApiSecurityScheme > ? SecuritySchemes { get ; set ; }
5653
5754 /// <summary>
5855 /// An object to hold reusable <see cref="IOpenApiLink"/> Objects.
5956 /// </summary>
60- public IDictionary < string , IOpenApiLink > ? Links { get ; set ; } = new Dictionary < string , IOpenApiLink > ( ) ;
57+ public IDictionary < string , IOpenApiLink > ? Links { get ; set ; }
6158
6259 /// <summary>
6360 /// An object to hold reusable <see cref="OpenApiCallback"/> Objects.
6461 /// </summary>
65- public IDictionary < string , IOpenApiCallback > ? Callbacks { get ; set ; } = new Dictionary < string , IOpenApiCallback > ( ) ;
62+ public IDictionary < string , IOpenApiCallback > ? Callbacks { get ; set ; }
6663
6764 /// <summary>
6865 /// An object to hold reusable <see cref="IOpenApiPathItem"/> Object.
6966 /// </summary>
70- public IDictionary < string , IOpenApiPathItem > ? PathItems { get ; set ; } = new Dictionary < string , IOpenApiPathItem > ( ) ;
67+ public IDictionary < string , IOpenApiPathItem > ? PathItems { get ; set ; }
7168
7269 /// <summary>
7370 /// This object MAY be extended with Specification Extensions.
7471 /// </summary>
75- public IDictionary < string , IOpenApiExtension > ? Extensions { get ; set ; } = new Dictionary < string , IOpenApiExtension > ( ) ;
72+ public IDictionary < string , IOpenApiExtension > ? Extensions { get ; set ; }
7673
7774 /// <summary>
7875 /// Parameter-less constructor
0 commit comments