mirror of
https://github.com/openfaas/faas.git
synced 2025-06-21 00:06:38 +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':
|
||||
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
|
||||
|
Reference in New Issue
Block a user