Fix default query parameters value for RemoteFilesFormat to uri.

The default value was set to `flat` and causing different behavior between the legacy and FastAPI endpoints for remote_files.
This commit is contained in:
davelopez
2021-04-06 11:17:55 +02:00
parent 8e5259ae16
commit 0caf1395da
@@ -36,11 +36,12 @@ TargetQueryParam: str = Query(
)
FormatQueryParam: Optional[RemoteFilesFormat] = Query(
default=RemoteFilesFormat.flat,
default=RemoteFilesFormat.uri,
title="Response format",
description=(
"The requested format of returned data. Either `flat` to simply list all the files"
" or `jstree` to get a tree representation of the files."
", `jstree` to get a tree representation of the files, or the default `uri` to list "
"files and directories by their URI."
),
)