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': '500':
description: Internal Server Error description: Internal Server Error
'/system/logs': '/system/logs':
get: get:
summary: Get a stream of the logs for a specific function summary: Get a stream of the logs for a specific function
produces: produces:
- application/x-ndjson - application/x-ndjson
parameters: parameters:
- in: query - in: query
name: name name: name
@ -600,7 +600,7 @@ definitions:
- name - name
LogEntry: LogEntry:
type: object type: object
property: properties:
name: name:
type: string type: string
description: the function name description: the function name