OpenAPI schema: remove some superfluous required definitions

Fixes #356
This commit is contained in:
Nicola Murino 2021-03-22 19:24:42 +01:00
parent dd485509f6
commit cc9db96257
No known key found for this signature in database
GPG key ID: 2F1FB59433D5A8CB

View file

@ -1423,9 +1423,6 @@ components:
type: string type: string
description: key_prefix is similar to a chroot directory for a local filesystem. If specified the user will only see contents that starts with this prefix and so you can restrict access to a specific virtual folder. The prefix, if not empty, must not start with "/" and must end with "/". If empty the whole bucket contents will be available description: key_prefix is similar to a chroot directory for a local filesystem. If specified the user will only see contents that starts with this prefix and so you can restrict access to a specific virtual folder. The prefix, if not empty, must not start with "/" and must end with "/". If empty the whole bucket contents will be available
example: folder/subfolder/ example: folder/subfolder/
required:
- bucket
- region
description: S3 Compatible Object Storage configuration details description: S3 Compatible Object Storage configuration details
GCSConfig: GCSConfig:
type: object type: object
@ -1450,8 +1447,6 @@ components:
type: string type: string
description: key_prefix is similar to a chroot directory for a local filesystem. If specified the user will only see contents that starts with this prefix and so you can restrict access to a specific virtual folder. The prefix, if not empty, must not start with "/" and must end with "/". If empty the whole bucket contents will be available description: key_prefix is similar to a chroot directory for a local filesystem. If specified the user will only see contents that starts with this prefix and so you can restrict access to a specific virtual folder. The prefix, if not empty, must not start with "/" and must end with "/". If empty the whole bucket contents will be available
example: folder/subfolder/ example: folder/subfolder/
required:
- bucket
description: Google Cloud Storage configuration details. The "credentials" field must be populated only when adding/updating a user. It will be always omitted, since there are sensitive data, when you search/get users description: Google Cloud Storage configuration details. The "credentials" field must be populated only when adding/updating a user. It will be always omitted, since there are sensitive data, when you search/get users
AzureBlobFsConfig: AzureBlobFsConfig:
type: object type: object