docs: add 'warnings' field to "/server/info" response

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2021-05-19 20:42:44 -04:00
parent ceae5bb88b
commit e7ca2d6adc
1 changed files with 5 additions and 1 deletions

View File

@ -415,7 +415,11 @@ An object containing various fields that report server state.
"power"
],
"failed_components": [],
"registered_directories": ["config", "gcodes", "config_examples", "docs"]
"registered_directories": ["config", "gcodes", "config_examples", "docs"],
"warnings": [
"Invalid config option 'api_key_path' detected in section [authorization]. Remove the option to resolve this issue. In the future this will result in a startup error.",
"Unparsed config section [fake_section] detected. This may be the result of a component that failed to load. In the future this will result in a startup error."
]
}
```
!!! warning