Skip to content

Commit

Permalink
Update description
Browse files Browse the repository at this point in the history
  • Loading branch information
cremor committed May 13, 2024
1 parent 36cfc3f commit 6b8456f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ private static bool IsFromFormAttributeUsedWithIFormFile(ApiParameterDescription
new KeyValuePair<string, string>("416", "Range Not Satisfiable"),
new KeyValuePair<string, string>("417", "Expectation Failed"),
new KeyValuePair<string, string>("421", "Misdirected Request"),
new KeyValuePair<string, string>("422", "Unprocessable Entity"),
new KeyValuePair<string, string>("422", "Unprocessable Content"),
new KeyValuePair<string, string>("423", "Locked"),
new KeyValuePair<string, string>("424", "Failed Dependency"),
new KeyValuePair<string, string>("426", "Upgrade Required"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ public void GetSwagger_GeneratesResponses_ForSupportedResponseTypes()
Assert.Equal("Bad Request", response400.Description);
Assert.Empty(response400.Content.Keys);
var response422 = operation.Responses["422"];
Assert.Equal("Unprocessable Entity", response422.Description);
Assert.Equal("Unprocessable Content", response422.Description);
Assert.Empty(response422.Content.Keys);
var responseDefault = operation.Responses["default"];
Assert.Equal("Error", responseDefault.Description);
Expand Down

0 comments on commit 6b8456f

Please sign in to comment.