File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
test/Microsoft.OpenApi.Readers.Tests/V2Tests Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 1- // Copyright (c) Microsoft Corporation. All rights reserved.
1+ // Copyright (c) Microsoft Corporation. All rights reserved.
22// Licensed under the MIT license.
33
44using System . Collections . Generic ;
@@ -182,8 +182,8 @@ public class OpenApiOperationTests
182182 }
183183 }
184184 } ,
185- Extensions = {
186- [ OpenApiConstants . BodyName ] = new OpenApiString ( "petObject" )
185+ Extensions = {
186+ [ OpenApiConstants . BodyName ] = new OpenApiString ( "petObject" )
187187 }
188188 } ,
189189 Responses = new OpenApiResponses
@@ -381,10 +381,8 @@ public void ParseOperationWithEmptyProducesArraySetsResponseSchemaIfExists()
381381 {
382382 // Arrange
383383 MapNode node ;
384- using ( var stream = Resources . GetStream ( Path . Combine ( SampleFolderPath , "operationWithEmptyProducesArrayInResponse.json" ) ) )
385- {
386- node = TestHelper . CreateYamlMapNode ( stream ) ;
387- }
384+ using var stream = Resources . GetStream ( Path . Combine ( SampleFolderPath , "operationWithEmptyProducesArrayInResponse.json" ) ) ;
385+ node = TestHelper . CreateYamlMapNode ( stream ) ;
388386
389387 // Act
390388 var operation = OpenApiV2Deserializer . LoadOperation ( node ) ;
You can’t perform that action at this time.
0 commit comments