From f6ebd19ee8ab790b3a7892776fc9e0be01004121 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20J=C3=B8rgen=20Skogstad?= Date: Thu, 8 Aug 2024 11:18:34 +0200 Subject: [PATCH] fix: Correct the SeenLog list endpoints OpenAPI description (#976) --- docs/schema/V1/swagger.verified.json | 12 ++++++------ .../Search/SearchDialogSeenLogSwaggerConfig.cs | 9 +++++---- .../Search/SearchDialogSeenLogSwaggerConfig.cs | 9 +++++---- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/docs/schema/V1/swagger.verified.json b/docs/schema/V1/swagger.verified.json index 798911b28..4bfa25480 100644 --- a/docs/schema/V1/swagger.verified.json +++ b/docs/schema/V1/swagger.verified.json @@ -265,8 +265,8 @@ "tags": [ "Serviceowner" ], - "summary": "Gets a single dialog seen log record", - "description": "Gets a single dialog seen log record. For more information see the documentation (link TBD).", + "summary": "Gets all seen log records for a dialog", + "description": "Gets all seen log records for a dialog. For more information see the documentation (link TBD).", "operationId": "SearchDialogSeenLogSO", "parameters": [ { @@ -287,7 +287,7 @@ "description": "Forbidden" }, "200": { - "description": "Successfully returned the dialog seen log record.", + "description": "Successfully returned the dialog seen log records.", "content": { "application/json": { "schema": { @@ -1548,8 +1548,8 @@ "tags": [ "Enduser" ], - "summary": "Gets a single dialog seen log record", - "description": "Gets a single dialog seen log record. For more information see the documentation (link TBD).", + "summary": "Gets all seen log records for a dialog", + "description": "Gets all seen log records for a dialog. For more information see the documentation (link TBD).", "operationId": "SearchDialogSeenLog", "parameters": [ { @@ -1570,7 +1570,7 @@ "description": "Forbidden" }, "200": { - "description": "Successfully returned the dialog seen log record.", + "description": "Successfully returned the dialog seen log records.", "content": { "application/json": { "schema": { diff --git a/src/Digdir.Domain.Dialogporten.WebApi/Endpoints/V1/EndUser/DialogSeenLogs/Search/SearchDialogSeenLogSwaggerConfig.cs b/src/Digdir.Domain.Dialogporten.WebApi/Endpoints/V1/EndUser/DialogSeenLogs/Search/SearchDialogSeenLogSwaggerConfig.cs index 47e9b88c4..e1b00012c 100644 --- a/src/Digdir.Domain.Dialogporten.WebApi/Endpoints/V1/EndUser/DialogSeenLogs/Search/SearchDialogSeenLogSwaggerConfig.cs +++ b/src/Digdir.Domain.Dialogporten.WebApi/Endpoints/V1/EndUser/DialogSeenLogs/Search/SearchDialogSeenLogSwaggerConfig.cs @@ -24,12 +24,13 @@ public sealed class SearchDialogSeenLogEndpointSummary : Summary