@@ -19,60 +19,57 @@ public class OpenApiComponents : IOpenApiSerializable, IOpenApiExtensible
19
19
/// <summary>
20
20
/// An object to hold reusable <see cref="IOpenApiSchema"/> Objects.
21
21
/// </summary>
22
- public IDictionary < string , IOpenApiSchema > ? Schemas { get ; set ; } = new Dictionary < string , IOpenApiSchema > ( ) ;
22
+ public IDictionary < string , IOpenApiSchema > ? Schemas { get ; set ; }
23
23
24
24
/// <summary>
25
25
/// An object to hold reusable <see cref="IOpenApiResponse"/> Objects.
26
26
/// </summary>
27
- public IDictionary < string , IOpenApiResponse > ? Responses { get ; set ; } = new Dictionary < string , IOpenApiResponse > ( ) ;
27
+ public IDictionary < string , IOpenApiResponse > ? Responses { get ; set ; }
28
28
29
29
/// <summary>
30
30
/// An object to hold reusable <see cref="IOpenApiParameter"/> Objects.
31
31
/// </summary>
32
- public IDictionary < string , IOpenApiParameter > ? Parameters { get ; set ; } =
33
- new Dictionary < string , IOpenApiParameter > ( ) ;
32
+ public IDictionary < string , IOpenApiParameter > ? Parameters { get ; set ; }
34
33
35
34
/// <summary>
36
35
/// An object to hold reusable <see cref="OpenApiExample"/> Objects.
37
36
/// </summary>
38
- public IDictionary < string , IOpenApiExample > ? Examples { get ; set ; } = new Dictionary < string , IOpenApiExample > ( ) ;
37
+ public IDictionary < string , IOpenApiExample > ? Examples { get ; set ; }
39
38
40
39
/// <summary>
41
40
/// An object to hold reusable <see cref="IOpenApiRequestBody"/> Objects.
42
41
/// </summary>
43
- public IDictionary < string , IOpenApiRequestBody > ? RequestBodies { get ; set ; } =
44
- new Dictionary < string , IOpenApiRequestBody > ( ) ;
42
+ public IDictionary < string , IOpenApiRequestBody > ? RequestBodies { get ; set ; }
45
43
46
44
/// <summary>
47
45
/// An object to hold reusable <see cref="IOpenApiHeader"/> Objects.
48
46
/// </summary>
49
- public IDictionary < string , IOpenApiHeader > ? Headers { get ; set ; } = new Dictionary < string , IOpenApiHeader > ( ) ;
47
+ public IDictionary < string , IOpenApiHeader > ? Headers { get ; set ; }
50
48
51
49
/// <summary>
52
50
/// An object to hold reusable <see cref="IOpenApiSecurityScheme"/> Objects.
53
51
/// </summary>
54
- public IDictionary < string , IOpenApiSecurityScheme > ? SecuritySchemes { get ; set ; } =
55
- new Dictionary < string , IOpenApiSecurityScheme > ( ) ;
52
+ public IDictionary < string , IOpenApiSecurityScheme > ? SecuritySchemes { get ; set ; }
56
53
57
54
/// <summary>
58
55
/// An object to hold reusable <see cref="IOpenApiLink"/> Objects.
59
56
/// </summary>
60
- public IDictionary < string , IOpenApiLink > ? Links { get ; set ; } = new Dictionary < string , IOpenApiLink > ( ) ;
57
+ public IDictionary < string , IOpenApiLink > ? Links { get ; set ; }
61
58
62
59
/// <summary>
63
60
/// An object to hold reusable <see cref="OpenApiCallback"/> Objects.
64
61
/// </summary>
65
- public IDictionary < string , IOpenApiCallback > ? Callbacks { get ; set ; } = new Dictionary < string , IOpenApiCallback > ( ) ;
62
+ public IDictionary < string , IOpenApiCallback > ? Callbacks { get ; set ; }
66
63
67
64
/// <summary>
68
65
/// An object to hold reusable <see cref="IOpenApiPathItem"/> Object.
69
66
/// </summary>
70
- public IDictionary < string , IOpenApiPathItem > ? PathItems { get ; set ; } = new Dictionary < string , IOpenApiPathItem > ( ) ;
67
+ public IDictionary < string , IOpenApiPathItem > ? PathItems { get ; set ; }
71
68
72
69
/// <summary>
73
70
/// This object MAY be extended with Specification Extensions.
74
71
/// </summary>
75
- public IDictionary < string , IOpenApiExtension > ? Extensions { get ; set ; } = new Dictionary < string , IOpenApiExtension > ( ) ;
72
+ public IDictionary < string , IOpenApiExtension > ? Extensions { get ; set ; }
76
73
77
74
/// <summary>
78
75
/// Parameter-less constructor
0 commit comments