Improves OpenApi documentation

This commit is contained in:
BinaryAlley committed 2024-11-15 21:01:19 +02:00
1 parent f2703b86c5
commit 77f95708b9
101 files changed
+2336 -294

No files matched your search

@@ -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");
@@ -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");
@@ -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");