Skip to content

Commit 76f312d

Browse files
committed
Updated swagger.json in test project
1 parent ec2ccaf commit 76f312d

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

test/OpenApiTests/ClientLibrary/ResponseTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ public async Task Getting_resource_collection_translates_response()
121121
flight.Meta["docs"].Should().Be(flightMetaValue);
122122

123123
flight.Attributes.Destination.Should().Be(flightDestination);
124-
flight.Attributes.FlightNumber.Should().Be(null);
125124
flight.Attributes.ServicesOnBoard.Should().HaveCount(3);
126125
flight.Attributes.ServicesOnBoard.ElementAt(0).Should().Be(fightServiceOnBoard);
127126
flight.Attributes.ServicesOnBoard.ElementAt(1).Should().Be(string.Empty);
@@ -187,7 +186,6 @@ public async Task Getting_resource_translates_response()
187186
document.Data.Relationships.Should().BeNull();
188187
document.Data.Attributes.DepartsAt.Should().Be(DateTimeOffset.Parse(departsAtInZuluTime));
189188
document.Data.Attributes.ArrivesAt.Should().Be(DateTimeOffset.Parse(arrivesAtWithUtcOffset));
190-
document.Data.Attributes.FlightNumber.Should().BeNull();
191189
document.Data.Attributes.ServicesOnBoard.Should().BeNull();
192190
document.Data.Attributes.Destination.Should().BeNull();
193191
document.Data.Attributes.OperatedBy.Should().Be(default(Airline));

test/OpenApiTests/swagger.json

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
{
32
"openapi": "3.0.1",
43
"info": {
@@ -2446,11 +2445,6 @@
24462445
"maxLength": 40,
24472446
"type": "string"
24482447
},
2449-
"flight-number": {
2450-
"maxLength": 8,
2451-
"type": "string",
2452-
"nullable": true
2453-
},
24542448
"operated-by": {
24552449
"$ref": "#/components/schemas/airline"
24562450
}
@@ -2464,11 +2458,6 @@
24642458
"maxLength": 40,
24652459
"type": "string"
24662460
},
2467-
"flight-number": {
2468-
"maxLength": 8,
2469-
"type": "string",
2470-
"nullable": true
2471-
},
24722461
"departs-at": {
24732462
"type": "string",
24742463
"format": "date-time",
@@ -3016,4 +3005,4 @@
30163005
}
30173006
}
30183007
}
3019-
}
3008+
}

0 commit comments

Comments
 (0)