mirror of
https://github.com/openfaas/faas.git
synced 2025-06-21 09:16:32 +00:00
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:
committed by
Alex Ellis
parent
14677e0b9a
commit
2b92ee6e7b
@ -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
|
||||||
|
Reference in New Issue
Block a user