File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
test/Microsoft.OpenApi.Tests/Models Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -210,9 +210,9 @@ public void SerializeInfoObjectWithSummaryAsV31YamlWorks()
210
210
{
211
211
// Arrange
212
212
var expected = @"title: Sample Pet Store App
213
- summary: This is a sample server for a pet store.
214
213
description: This is a sample server for a pet store.
215
- version: '1.1.1'" ;
214
+ version: '1.1.1'
215
+ summary: This is a sample server for a pet store." ;
216
216
217
217
// Act
218
218
var actual = InfoWithSummary . SerializeAsYaml ( OpenApiSpecVersion . OpenApi3_1 ) ;
@@ -229,9 +229,9 @@ public void SerializeInfoObjectWithSummaryAsV31JsonWorks()
229
229
// Arrange
230
230
var expected = @"{
231
231
""title"": ""Sample Pet Store App"",
232
- ""summary"": ""This is a sample server for a pet store."",
233
232
""description"": ""This is a sample server for a pet store."",
234
- ""version"": ""1.1.1""
233
+ ""version"": ""1.1.1"",
234
+ ""summary"": ""This is a sample server for a pet store.""
235
235
}" ;
236
236
237
237
// Act
You can’t perform that action at this time.
0 commit comments