update header api description and values

This commit is contained in:
JPVenson 2025-03-24 16:56:36 +00:00
parent a026a3722c
commit daf8eca8ae

View File

@ -16,11 +16,11 @@ internal class RetryOnTemporarlyUnavailableFilter : IOperationFilter
Headers = new Dictionary<string, OpenApiHeader>() Headers = new Dictionary<string, OpenApiHeader>()
{ {
{ {
"retry-after", "Retry-After",
new() { AllowEmptyValue = true, Required = false, Description = "A hint for when to retry the operation in full secounds." } new() { AllowEmptyValue = true, Required = false, Description = "A hint for when to retry the operation in full seconds." }
}, },
{ {
"message", "Message",
new() { AllowEmptyValue = true, Required = false, Description = "A short plain-text reason why the server is not available." } new() { AllowEmptyValue = true, Required = false, Description = "A short plain-text reason why the server is not available." }
} }
}, },