Fix api docs for logging endpoint

- Corrects indentation for the /system/logs endpoint (summary,...)
- Fixes schema validation for LogEntry

Signed-off-by: Niklas Lochschmidt <nlochschmidt@gmail.com>
This commit is contained in:
Niklas Lochschmidt
2019-08-20 13:36:09 +02:00
committed by Alex Ellis
parent 14677e0b9a
commit 2b92ee6e7b

View File

@ -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