Refactor code structure for improved readability and maintainability; optimize performance in key functions.

This commit is contained in:
master
2025-12-22 19:06:31 +02:00
parent dfaa2079aa
commit 4602ccc3a3
1444 changed files with 109919 additions and 8058 deletions

View File

@@ -31,7 +31,7 @@ public sealed class SbomEndpointsTests
var sbomJson = """
{
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"specVersion": "1.7",
"version": 1,
"components": []
}
@@ -39,7 +39,7 @@ public sealed class SbomEndpointsTests
using var request = new HttpRequestMessage(HttpMethod.Post, $"/api/v1/scans/{scanId}/sbom")
{
Content = new StringContent(sbomJson, Encoding.UTF8, "application/vnd.cyclonedx+json")
Content = new StringContent(sbomJson, Encoding.UTF8, "application/vnd.cyclonedx+json; version=1.7")
};
var response = await client.SendAsync(request);