diff --git a/implementations/hotchocolate/Dockerfile b/implementations/hotchocolate/Dockerfile index 25c3a392..5fe013d3 100644 --- a/implementations/hotchocolate/Dockerfile +++ b/implementations/hotchocolate/Dockerfile @@ -3,5 +3,5 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 WORKDIR /server RUN dotnet new web -RUN dotnet add package HotChocolate.AspNetCore --version 14.0.0 +RUN dotnet add package HotChocolate.AspNetCore --version 16.4.0 COPY Program.cs . diff --git a/implementations/hotchocolate/README.md b/implementations/hotchocolate/README.md index 4e6f0050..b5f8d1c1 100644 --- a/implementations/hotchocolate/README.md +++ b/implementations/hotchocolate/README.md @@ -3,8 +3,8 @@

GraphQL over HTTP audit report

@@ -18,7 +18,7 @@
  • 2C94 MUST accept POST requests
  • 5A70 MAY accept application/x-www-form-urlencoded formatted GET requests
  • 9C48 MAY NOT allow executing mutations on GET requests
  • -
  • 9ABE MAY respond with 4xx status code if content-type is not supplied on POST requests
  • +
  • 9ABE SHOULD respond with 4xx status code if content-type is not supplied on POST requests
  • 03D4 MUST accept application/json POST requests
  • A5BF MAY use 400 status code when request body is missing on POST
  • 423L MAY use 400 status code on missing {query} parameter
  • @@ -54,8 +54,9 @@
  • 58B3 MAY use 400 status code on array {extensions} parameter
  • 428F SHOULD allow map {extensions} parameter when accepting application/graphql-response+json
  • 1B7A MUST allow map {extensions} parameter when accepting application/json
  • -
  • B6DC MAY use 4xx or 5xx status codes on JSON parsing failure
  • -
  • BCF8 MAY use 400 status code on JSON parsing failure
  • +
  • B6DC MAY use 2xx, 4xx, or 5xx status codes on JSON parsing failure when accepting application/json
  • +
  • BCF8 SHOULD use 400 status code on JSON parsing failure when accepting application/json
  • +
  • B7N8 SHOULD use 400 status code on JSON parsing failure when accepting application/graphql-response+json
  • 8764 MAY use 4xx or 5xx status codes if parameters are invalid
  • 3E3A MAY use 400 status code if parameters are invalid
  • 572B SHOULD use 200 status code on document parsing failure when accepting application/json
  • diff --git a/implementations/hotchocolate/report.json b/implementations/hotchocolate/report.json index ddfc3f4e..0c08b57f 100644 --- a/implementations/hotchocolate/report.json +++ b/implementations/hotchocolate/report.json @@ -1,6 +1,6 @@ { - "total": 60, - "ok": 58, + "total": 61, + "ok": 59, "notice": 0, "warn": 2, "error": 0