Skip to content

Commit a7456a2

Browse files
Fix missing await
1 parent 441a76d commit a7456a2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Refitter.Core/RefitGenerator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ private static async Task<OpenApiDocument> CleanSchemaAsync(
7272
return result;
7373
}
7474

75-
private static Task<OpenApiDocument> CloneDocumentAsync(OpenApiDocument document)
76-
=> OpenApiDocument.FromJsonAsync(document.ToJson()).ConfigureAwait(false);
75+
private static async Task<OpenApiDocument> CloneDocumentAsync(OpenApiDocument document)
76+
=> await OpenApiDocument.FromJsonAsync(document.ToJson()).ConfigureAwait(false);
7777

7878
/// <summary>
7979
/// Generates Refit clients and interfaces based on an OpenAPI specification and returns the generated code as a string.

0 commit comments

Comments
 (0)