Browse Source

OpenAPI schema: remove some superfluous required definitions

Fixes #356
Nicola Murino 4 years ago
parent
commit
8a1249878a
1 changed files with 0 additions and 5 deletions
  1. 0 5
      httpd/schema/openapi.yaml

+ 0 - 5
httpd/schema/openapi.yaml

@@ -1521,9 +1521,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
@@ -1548,8 +1545,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