From 2b92ee6e7b7bba31bfc6dccdb28db9672af5657a Mon Sep 17 00:00:00 2001 From: Niklas Lochschmidt Date: Tue, 20 Aug 2019 13:36:09 +0200 Subject: [PATCH] Fix api docs for logging endpoint - Corrects indentation for the /system/logs endpoint (summary,...) - Fixes schema validation for LogEntry Signed-off-by: Niklas Lochschmidt --- api-docs/swagger.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api-docs/swagger.yml b/api-docs/swagger.yml index a2983404..47c5874a 100644 --- a/api-docs/swagger.yml +++ b/api-docs/swagger.yml @@ -333,10 +333,10 @@ paths: '500': description: Internal Server Error '/system/logs': - get: - summary: Get a stream of the logs for a specific function - produces: - - application/x-ndjson + get: + summary: Get a stream of the logs for a specific function + produces: + - application/x-ndjson parameters: - in: query name: name @@ -600,7 +600,7 @@ definitions: - name LogEntry: type: object - property: + properties: name: type: string description: the function name