File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Microsoft.OpenApi.OData.Reader/Operation Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,10 +136,10 @@ protected override void AppendCustomParameters(OpenApiOperation operation)
136
136
/// Get the entity content description.
137
137
/// </summary>
138
138
/// <returns>The entity content description.</returns>
139
- private IDictionary < string , OpenApiMediaType ? > GetContentDescription ( )
139
+ private IDictionary < string , OpenApiMediaType > GetContentDescription ( )
140
140
{
141
141
var schema = GetEntitySchema ( ) ;
142
- var content = new Dictionary < string , OpenApiMediaType ? > ( ) ;
142
+ var content = new Dictionary < string , OpenApiMediaType > ( ) ;
143
143
144
144
if ( EntitySet is { EntityType . HasStream : true } )
145
145
{
@@ -148,7 +148,7 @@ protected override void AppendCustomParameters(OpenApiOperation operation)
148
148
{
149
149
foreach ( string item in mediaTypes )
150
150
{
151
- content . Add ( item , null ) ;
151
+ content . Add ( item , new ( ) ) ;
152
152
}
153
153
}
154
154
else
You can’t perform that action at this time.
0 commit comments