Skip to content

Commit 95b81a3

Browse files
committed
Revert workaround
1 parent eff33fe commit 95b81a3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/OpenApiTests/OpenApiTestContext.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,7 @@ private async Task<string> GetAsync(string requestUrl)
8080

8181
private static JsonElement ParseSwaggerDocument(string content)
8282
{
83-
// Temporary workaround for https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3426.
84-
string patchedContent = content.Replace("\"minimum\": 0,1", "\"minimum\": 0.1");
85-
86-
using JsonDocument jsonDocument = JsonDocument.Parse(patchedContent);
83+
using JsonDocument jsonDocument = JsonDocument.Parse(content);
8784
return jsonDocument.RootElement.Clone();
8885
}
8986

0 commit comments

Comments
 (0)