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)
136136 /// Get the entity content description.
137137 /// </summary>
138138 /// <returns>The entity content description.</returns>
139- private IDictionary < string , OpenApiMediaType ? > GetContentDescription ( )
139+ private IDictionary < string , OpenApiMediaType > GetContentDescription ( )
140140 {
141141 var schema = GetEntitySchema ( ) ;
142- var content = new Dictionary < string , OpenApiMediaType ? > ( ) ;
142+ var content = new Dictionary < string , OpenApiMediaType > ( ) ;
143143
144144 if ( EntitySet is { EntityType . HasStream : true } )
145145 {
@@ -148,7 +148,7 @@ protected override void AppendCustomParameters(OpenApiOperation operation)
148148 {
149149 foreach ( string item in mediaTypes )
150150 {
151- content . Add ( item , null ) ;
151+ content . Add ( item , new ( ) ) ;
152152 }
153153 }
154154 else
You can’t perform that action at this time.
0 commit comments