-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed all response DTOs to define 'required' properties by default.
Fixed JsonClient to not require new() constraint on responses Fixed OpenAPI output for 'nullable' properties in responses.
- Loading branch information
1 parent
318c497
commit e2c3c27
Showing
132 changed files
with
651 additions
and
435 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,7 @@ public async Task WhenSendEmailAndDeliverySucceeds_ThenDelivered() | |
req => req.SetJWTBearerToken(login.AccessToken)); | ||
|
||
var now = DateTime.UtcNow; | ||
deliveries.Content.Value.Emails!.Count.Should().Be(1); | ||
deliveries.Content.Value.Emails.Count.Should().Be(1); | ||
deliveries.Content.Value.Emails[0].Subject.Should().Be("asubject"); | ||
deliveries.Content.Value.Emails[0].Body.Should().Be("anhtmlbody"); | ||
deliveries.Content.Value.Emails[0].ToEmailAddress.Should().Be("[email protected]"); | ||
|
@@ -119,7 +119,7 @@ public async Task WhenSendEmailAndDeliveryFails_ThenNotDelivered() | |
req => req.SetJWTBearerToken(login.AccessToken)); | ||
|
||
var now = DateTime.UtcNow; | ||
deliveries.Content.Value.Emails!.Count.Should().Be(1); | ||
deliveries.Content.Value.Emails.Count.Should().Be(1); | ||
deliveries.Content.Value.Emails[0].Subject.Should().Be("asubject"); | ||
deliveries.Content.Value.Emails[0].Body.Should().Be("anhtmlbody"); | ||
deliveries.Content.Value.Emails[0].ToEmailAddress.Should().Be("[email protected]"); | ||
|
@@ -173,7 +173,7 @@ public async Task WhenSendEmailAndDeliveryFailsFirstTimeAndSucceedsSecondTime_Th | |
req => req.SetJWTBearerToken(login.AccessToken)); | ||
|
||
var now = DateTime.UtcNow; | ||
deliveries.Content.Value.Emails!.Count.Should().Be(1); | ||
deliveries.Content.Value.Emails.Count.Should().Be(1); | ||
deliveries.Content.Value.Emails[0].Subject.Should().Be("asubject"); | ||
deliveries.Content.Value.Emails[0].Body.Should().Be("anhtmlbody"); | ||
deliveries.Content.Value.Emails[0].ToEmailAddress.Should().Be("[email protected]"); | ||
|
@@ -230,7 +230,7 @@ await Api.PostAsync(new ConfirmEmailDeliveredRequest | |
req => req.SetJWTBearerToken(login.AccessToken)); | ||
|
||
var now = DateTime.UtcNow; | ||
deliveries.Content.Value.Emails!.Count.Should().Be(1); | ||
deliveries.Content.Value.Emails.Count.Should().Be(1); | ||
deliveries.Content.Value.Emails[0].Subject.Should().Be("asubject"); | ||
deliveries.Content.Value.Emails[0].Body.Should().Be("anhtmlbody"); | ||
deliveries.Content.Value.Emails[0].ToEmailAddress.Should().Be("[email protected]"); | ||
|
@@ -289,7 +289,7 @@ await Api.PostAsync(new ConfirmEmailDeliveryFailedRequest | |
req => req.SetJWTBearerToken(login.AccessToken)); | ||
|
||
var now = DateTime.UtcNow; | ||
deliveries.Content.Value.Emails!.Count.Should().Be(1); | ||
deliveries.Content.Value.Emails.Count.Should().Be(1); | ||
deliveries.Content.Value.Emails[0].Subject.Should().Be("asubject"); | ||
deliveries.Content.Value.Emails[0].Body.Should().Be("anhtmlbody"); | ||
deliveries.Content.Value.Emails[0].ToEmailAddress.Should().Be("[email protected]"); | ||
|
@@ -342,7 +342,7 @@ public async Task WhenSearchEmailDeliveriesWithTags_TheReturnsEmails() | |
}, | ||
req => req.SetJWTBearerToken(login.AccessToken)); | ||
|
||
deliveries.Content.Value.Emails!.Count.Should().Be(1); | ||
deliveries.Content.Value.Emails.Count.Should().Be(1); | ||
deliveries.Content.Value.Emails[0].Subject.Should().Be("asubject"); | ||
deliveries.Content.Value.Emails[0].Tags.Count.Should().Be(3); | ||
deliveries.Content.Value.Emails[0].Tags[0].Should().Be("atag1"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.