diff --git a/src/CSharp/EasyMicroservices.AuthenticationsMicroservice.Clients/Connected Services/AuthenticationsGeneratedServices/OpenAPI.cs b/src/CSharp/EasyMicroservices.AuthenticationsMicroservice.Clients/Connected Services/AuthenticationsGeneratedServices/OpenAPI.cs
index c6951b4..64523b5 100644
--- a/src/CSharp/EasyMicroservices.AuthenticationsMicroservice.Clients/Connected Services/AuthenticationsGeneratedServices/OpenAPI.cs
+++ b/src/CSharp/EasyMicroservices.AuthenticationsMicroservice.Clients/Connected Services/AuthenticationsGeneratedServices/OpenAPI.cs
@@ -1437,7 +1437,7 @@ public string BaseUrl
/// Success
/// A server side error occurred.
- public virtual System.Threading.Tasks.Task GetValidTokenAsync(GetValidTokenRequestContract body)
+ public virtual System.Threading.Tasks.Task GetValidTokenAsync(GetValidTokenRequestContract body)
{
return GetValidTokenAsync(body, System.Threading.CancellationToken.None);
}
@@ -1445,7 +1445,7 @@ public virtual System.Threading.Tasks.Task GetValidTokenAsync(G
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// Success
/// A server side error occurred.
- public virtual async System.Threading.Tasks.Task GetValidTokenAsync(GetValidTokenRequestContract body, System.Threading.CancellationToken cancellationToken)
+ public virtual async System.Threading.Tasks.Task GetValidTokenAsync(GetValidTokenRequestContract body, System.Threading.CancellationToken cancellationToken)
{
var urlBuilder_ = new System.Text.StringBuilder();
urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/api/ResetPasswordToken/GetValidToken");
@@ -1486,7 +1486,7 @@ public virtual async System.Threading.Tasks.Task GetValidTokenA
var status_ = (int)response_.StatusCode;
if (status_ == 200)
{
- var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false);
+ var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false);
if (objectResponse_.Object == null)
{
throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null);
diff --git a/src/CSharp/EasyMicroservices.AuthenticationsMicroservice.Clients/Connected Services/AuthenticationsGeneratedServices/OpenAPI.nswag.json b/src/CSharp/EasyMicroservices.AuthenticationsMicroservice.Clients/Connected Services/AuthenticationsGeneratedServices/OpenAPI.nswag.json
index 31486e5..2b7c4f1 100644
--- a/src/CSharp/EasyMicroservices.AuthenticationsMicroservice.Clients/Connected Services/AuthenticationsGeneratedServices/OpenAPI.nswag.json
+++ b/src/CSharp/EasyMicroservices.AuthenticationsMicroservice.Clients/Connected Services/AuthenticationsGeneratedServices/OpenAPI.nswag.json
@@ -801,17 +801,17 @@
"content": {
"text/plain": {
"schema": {
- "$ref": "#/components/schemas/MessageContract"
+ "$ref": "#/components/schemas/ResetPasswordTokenContractMessageContract"
}
},
"application/json": {
"schema": {
- "$ref": "#/components/schemas/MessageContract"
+ "$ref": "#/components/schemas/ResetPasswordTokenContractMessageContract"
}
},
"text/json": {
"schema": {
- "$ref": "#/components/schemas/MessageContract"
+ "$ref": "#/components/schemas/ResetPasswordTokenContractMessageContract"
}
}
}
diff --git a/src/CSharp/EasyMicroservices.AuthenticationsMicroservice.Clients/EasyMicroservices.AuthenticationsMicroservice.Clients.csproj b/src/CSharp/EasyMicroservices.AuthenticationsMicroservice.Clients/EasyMicroservices.AuthenticationsMicroservice.Clients.csproj
index 0889653..3b30812 100644
--- a/src/CSharp/EasyMicroservices.AuthenticationsMicroservice.Clients/EasyMicroservices.AuthenticationsMicroservice.Clients.csproj
+++ b/src/CSharp/EasyMicroservices.AuthenticationsMicroservice.Clients/EasyMicroservices.AuthenticationsMicroservice.Clients.csproj
@@ -5,7 +5,7 @@
AnyCPU;x64;x86
EasyMicroservices
true
- 0.0.0.21
+ 0.0.0.22
client generated code.
EasyMicroservices@gmail.com
microservice,auth,authentication,client
diff --git a/src/CSharp/EasyMicroservices.AuthenticationsMicroservice.Module/Controllers/ResetPasswordTokenController.cs b/src/CSharp/EasyMicroservices.AuthenticationsMicroservice.Module/Controllers/ResetPasswordTokenController.cs
index 7e7567d..8bfd5e7 100644
--- a/src/CSharp/EasyMicroservices.AuthenticationsMicroservice.Module/Controllers/ResetPasswordTokenController.cs
+++ b/src/CSharp/EasyMicroservices.AuthenticationsMicroservice.Module/Controllers/ResetPasswordTokenController.cs
@@ -19,7 +19,7 @@ public ResetPasswordTokenController(IBaseUnitOfWork unitOfWork) : base(unitOfWor
}
[HttpPost]
- public async Task GetValidToken(GetValidTokenRequestContract request)
+ public async Task> GetValidToken(GetValidTokenRequestContract request)
{
return await _unitOfWork.GetContractLogic().GetBy(x => x.Token.Equals(request.Token) && !x.HasConsumed && !x.IsDeleted && x.ExpirationDateTime >= DateTime.Now);
}