diff --git a/docs/schema/V1/swagger.verified.json b/docs/schema/V1/swagger.verified.json index 9b5573caa..65c17b253 100644 --- a/docs/schema/V1/swagger.verified.json +++ b/docs/schema/V1/swagger.verified.json @@ -146,7 +146,7 @@ "CONNECT" ] }, - "MicrosoftAspNetCoreJsonPatchOperations_Operation": { + "JsonPatchOperations_Operation": { "additionalProperties": false, "properties": { "from": { @@ -158,7 +158,7 @@ "type": "string" }, "operationType": { - "$ref": "#/components/schemas/MicrosoftAspNetCoreJsonPatchOperations_OperationType" + "$ref": "#/components/schemas/JsonPatchOperations_OperationType" }, "path": { "nullable": true, @@ -170,7 +170,7 @@ }, "type": "object" }, - "MicrosoftAspNetCoreJsonPatchOperations_OperationType": { + "JsonPatchOperations_OperationType": { "description": "", "enum": [ "Add", @@ -6048,7 +6048,7 @@ "application/json": { "schema": { "items": { - "$ref": "#/components/schemas/MicrosoftAspNetCoreJsonPatchOperations_Operation" + "$ref": "#/components/schemas/JsonPatchOperations_Operation" }, "type": "array" } diff --git a/src/Digdir.Domain.Dialogporten.WebApi/Common/Swagger/TypeNameConverter.cs b/src/Digdir.Domain.Dialogporten.WebApi/Common/Swagger/TypeNameConverter.cs index b3d93e311..e8317ab63 100644 --- a/src/Digdir.Domain.Dialogporten.WebApi/Common/Swagger/TypeNameConverter.cs +++ b/src/Digdir.Domain.Dialogporten.WebApi/Common/Swagger/TypeNameConverter.cs @@ -16,7 +16,8 @@ internal static class TypeNameConverter "FastEndpoints", "Digdir.Domain.Dialogporten.Domain.", "Digdir.Domain.Dialogporten.WebApi.Endpoints.", - "Digdir.Domain.Dialogporten.Application.Features." + "Digdir.Domain.Dialogporten.Application.Features.", + "Microsoft.AspNetCore." ]; internal static string ToShortName(Type type)