You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
kmgallahan
changed the title
NSwag fails to set Content-Language header as it must be set on Content headers
NSwag generated C# clients fail to set Content-Language header as it must be set on Content headers
Apr 14, 2024
NSwag generated code from openapi specifications that indicate the Content-Language header is required for a POST request tries to do the following:
Which always fails because Content-Language is not a valid header there. Rather, it must be added to the content headers:
The text was updated successfully, but these errors were encountered: