mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 17:11:10 +00:00
Improves OpenApi documentation
This commit is contained in:
1 parent
f2703b86c5
commit
77f95708b9
101 files changed
+2336
-294
No files matched your search
+1
-1
@@ -173,7 +173,7 @@ public class AuthLoginTests : IClassFixture<LuminaApiFactory>, IDisposable
|
||||
problemDetails["type"].GetString().Should().Be("https://tools.ietf.org/html/rfc7231#section-6.5.29");
|
||||
problemDetails["title"].GetString().Should().Be("TooManyRequests");
|
||||
problemDetails["detail"].GetString().Should().Be("Too many attempts. Please try again later.");
|
||||
problemDetails["retryAfter"].GetString().Should().Be("15");
|
||||
problemDetails["retryAfter"].GetString().Should().Be("900");
|
||||
|
||||
lastResponse.Headers.Should().ContainKey("X-RateLimit-Limit");
|
||||
lastResponse.Headers.Should().ContainKey("X-RateLimit-Reset");
|
||||
|
||||
+1
-1
@@ -69,7 +69,7 @@ public class AuthRecoverPasswordTests : IClassFixture<LuminaApiFactory>, IDispos
|
||||
problemDetails["type"].GetString().Should().Be("https://tools.ietf.org/html/rfc7231#section-6.5.29");
|
||||
problemDetails["title"].GetString().Should().Be("TooManyRequests");
|
||||
problemDetails["detail"].GetString().Should().Be("Too many attempts. Please try again later.");
|
||||
problemDetails["retryAfter"].GetString().Should().Be("15");
|
||||
problemDetails["retryAfter"].GetString().Should().Be("900");
|
||||
|
||||
lastResponse.Headers.Should().ContainKey("X-RateLimit-Limit");
|
||||
lastResponse.Headers.Should().ContainKey("X-RateLimit-Reset");
|
||||
|
||||
+1
-1
@@ -102,7 +102,7 @@ public class AuthRegisterTests : IClassFixture<LuminaApiFactory>, IDisposable
|
||||
problemDetails["type"].GetString().Should().Be("https://tools.ietf.org/html/rfc7231#section-6.5.29");
|
||||
problemDetails["title"].GetString().Should().Be("TooManyRequests");
|
||||
problemDetails["detail"].GetString().Should().Be("Too many attempts. Please try again later.");
|
||||
problemDetails["retryAfter"].GetString().Should().Be("15");
|
||||
problemDetails["retryAfter"].GetString().Should().Be("900");
|
||||
|
||||
lastResponse.Headers.Should().ContainKey("X-RateLimit-Limit");
|
||||
lastResponse.Headers.Should().ContainKey("X-RateLimit-Reset");
|
||||
|
||||
Reference in new issue
Block a user