4 references to SendJsonAsync
AnalyzeCiFailure (2)
Infrastructure\AnalysisGitHubClient.cs (1)
51=> TranslateAsync(() => _githubApi.SendJsonAsync(method, endpoint, body, expectedStatus, cancellationToken));
tools\Aspire.TestTools\GitHubApiClient.cs (1)
92=> SendJsonAsync(HttpMethod.Get, endpoint, body: null, HttpStatusCode.OK, cancellationToken);
AnalyzeCiFailure.Tests (2)
GitHubApiClientTests.cs (2)
550var json = await client.SendJsonAsync(HttpMethod.Post, "issues", JsonNode.Parse("""{"title":"issue"}"""), HttpStatusCode.Created, default); 569client.SendJsonAsync(HttpMethod.Post, "issues", body: null, HttpStatusCode.Created, default));