Remove Dupplicate Swagger definitions (#954)

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
Daniel Valdivia
2021-08-16 14:07:18 -07:00
committed by GitHub
parent 0980bd38e7
commit cabb60bd3f
5 changed files with 49 additions and 3668 deletions

View File

@@ -3760,53 +3760,6 @@ func init() {
}
}
},
"directCSIDriveInfo": {
"type": "object",
"properties": {
"allocated": {
"type": "number",
"format": "int64"
},
"capacity": {
"type": "number",
"format": "int64"
},
"drive": {
"type": "string"
},
"message": {
"type": "string"
},
"node": {
"type": "string"
},
"status": {
"type": "string"
},
"volumes": {
"type": "number",
"format": "int64"
}
}
},
"directCSIVolumeInfo": {
"type": "object",
"properties": {
"capacity": {
"type": "number",
"format": "int64"
},
"drive": {
"type": "string"
},
"node": {
"type": "string"
},
"volume": {
"type": "string"
}
}
},
"error": {
"type": "object",
"required": [
@@ -3841,25 +3794,6 @@ func init() {
}
}
},
"formatConfiguration": {
"type": "object",
"required": [
"drives",
"force"
],
"properties": {
"drives": {
"type": "array",
"minLength": 1,
"items": {
"type": "string"
}
},
"force": {
"type": "boolean"
}
}
},
"getBucketRetentionConfig": {
"type": "object",
"properties": {
@@ -3875,28 +3809,6 @@ func init() {
}
}
},
"getDirectCSIDriveListResponse": {
"type": "object",
"properties": {
"drives": {
"type": "array",
"items": {
"$ref": "#/definitions/directCSIDriveInfo"
}
}
}
},
"getDirectCSIVolumeListResponse": {
"type": "object",
"properties": {
"volumes": {
"type": "array",
"items": {
"$ref": "#/definitions/directCSIVolumeInfo"
}
}
}
},
"group": {
"type": "object",
"properties": {
@@ -3943,95 +3855,6 @@ func init() {
"type": "string",
"pattern": "^[\\w+=,.@-]{1,64}$"
},
"idpConfiguration": {
"type": "object",
"properties": {
"active_directory": {
"type": "object",
"required": [
"url"
],
"properties": {
"group_name_attribute": {
"type": "string"
},
"group_search_base_dn": {
"type": "string"
},
"group_search_filter": {
"type": "string"
},
"server_insecure": {
"type": "boolean"
},
"skip_tls_verification": {
"type": "boolean"
},
"url": {
"type": "string"
},
"user_search_filter": {
"type": "string"
},
"username_format": {
"type": "string"
}
}
},
"keys": {
"type": "array",
"items": {
"type": "object",
"required": [
"access_key",
"secret_key"
],
"properties": {
"access_key": {
"type": "string"
},
"secret_key": {
"type": "string"
}
}
}
},
"oidc": {
"type": "object",
"required": [
"url",
"client_id",
"secret_id"
],
"properties": {
"client_id": {
"type": "string"
},
"secret_id": {
"type": "string"
},
"url": {
"type": "string"
}
}
}
}
},
"keyPairConfiguration": {
"type": "object",
"required": [
"crt",
"key"
],
"properties": {
"crt": {
"type": "string"
},
"key": {
"type": "string"
}
}
},
"license": {
"type": "object",
"properties": {
@@ -4222,25 +4045,6 @@ func init() {
}
}
},
"logSearchConfiguration": {
"type": "object",
"properties": {
"image": {
"type": "string"
},
"postgres_image": {
"type": "string"
},
"storageClass": {
"type": "string",
"default": ""
},
"storageSize": {
"type": "number",
"default": 5
}
}
},
"logSearchResponse": {
"type": "object",
"properties": {
@@ -4698,22 +4502,6 @@ func init() {
}
}
},
"prometheusConfiguration": {
"type": "object",
"properties": {
"image": {
"type": "string"
},
"storageClass": {
"type": "string",
"default": ""
},
"storageSize": {
"type": "number",
"default": 5
}
}
},
"putBucketRetentionRequest": {
"type": "object",
"required": [
@@ -5214,33 +5002,6 @@ func init() {
}
}
},
"tlsConfiguration": {
"type": "object",
"properties": {
"ca_certificates": {
"type": "array",
"items": {
"type": "string"
}
},
"console": {
"type": "object",
"$ref": "#/definitions/keyPairConfiguration"
},
"console_ca_certificates": {
"type": "array",
"items": {
"type": "string"
}
},
"minio": {
"type": "array",
"items": {
"$ref": "#/definitions/keyPairConfiguration"
}
}
}
},
"transitionResponse": {
"type": "object",
"properties": {
@@ -8604,72 +8365,6 @@ func init() {
}
},
"definitions": {
"IdpConfigurationActiveDirectory": {
"type": "object",
"required": [
"url"
],
"properties": {
"group_name_attribute": {
"type": "string"
},
"group_search_base_dn": {
"type": "string"
},
"group_search_filter": {
"type": "string"
},
"server_insecure": {
"type": "boolean"
},
"skip_tls_verification": {
"type": "boolean"
},
"url": {
"type": "string"
},
"user_search_filter": {
"type": "string"
},
"username_format": {
"type": "string"
}
}
},
"IdpConfigurationKeysItems0": {
"type": "object",
"required": [
"access_key",
"secret_key"
],
"properties": {
"access_key": {
"type": "string"
},
"secret_key": {
"type": "string"
}
}
},
"IdpConfigurationOidc": {
"type": "object",
"required": [
"url",
"client_id",
"secret_id"
],
"properties": {
"client_id": {
"type": "string"
},
"secret_id": {
"type": "string"
},
"url": {
"type": "string"
}
}
},
"WidgetDetailsOptions": {
"type": "object",
"properties": {
@@ -9290,53 +8985,6 @@ func init() {
}
}
},
"directCSIDriveInfo": {
"type": "object",
"properties": {
"allocated": {
"type": "number",
"format": "int64"
},
"capacity": {
"type": "number",
"format": "int64"
},
"drive": {
"type": "string"
},
"message": {
"type": "string"
},
"node": {
"type": "string"
},
"status": {
"type": "string"
},
"volumes": {
"type": "number",
"format": "int64"
}
}
},
"directCSIVolumeInfo": {
"type": "object",
"properties": {
"capacity": {
"type": "number",
"format": "int64"
},
"drive": {
"type": "string"
},
"node": {
"type": "string"
},
"volume": {
"type": "string"
}
}
},
"error": {
"type": "object",
"required": [
@@ -9371,25 +9019,6 @@ func init() {
}
}
},
"formatConfiguration": {
"type": "object",
"required": [
"drives",
"force"
],
"properties": {
"drives": {
"type": "array",
"minLength": 1,
"items": {
"type": "string"
}
},
"force": {
"type": "boolean"
}
}
},
"getBucketRetentionConfig": {
"type": "object",
"properties": {
@@ -9405,28 +9034,6 @@ func init() {
}
}
},
"getDirectCSIDriveListResponse": {
"type": "object",
"properties": {
"drives": {
"type": "array",
"items": {
"$ref": "#/definitions/directCSIDriveInfo"
}
}
}
},
"getDirectCSIVolumeListResponse": {
"type": "object",
"properties": {
"volumes": {
"type": "array",
"items": {
"$ref": "#/definitions/directCSIVolumeInfo"
}
}
}
},
"group": {
"type": "object",
"properties": {
@@ -9473,83 +9080,6 @@ func init() {
"type": "string",
"pattern": "^[\\w+=,.@-]{1,64}$"
},
"idpConfiguration": {
"type": "object",
"properties": {
"active_directory": {
"type": "object",
"required": [
"url"
],
"properties": {
"group_name_attribute": {
"type": "string"
},
"group_search_base_dn": {
"type": "string"
},
"group_search_filter": {
"type": "string"
},
"server_insecure": {
"type": "boolean"
},
"skip_tls_verification": {
"type": "boolean"
},
"url": {
"type": "string"
},
"user_search_filter": {
"type": "string"
},
"username_format": {
"type": "string"
}
}
},
"keys": {
"type": "array",
"items": {
"$ref": "#/definitions/IdpConfigurationKeysItems0"
}
},
"oidc": {
"type": "object",
"required": [
"url",
"client_id",
"secret_id"
],
"properties": {
"client_id": {
"type": "string"
},
"secret_id": {
"type": "string"
},
"url": {
"type": "string"
}
}
}
}
},
"keyPairConfiguration": {
"type": "object",
"required": [
"crt",
"key"
],
"properties": {
"crt": {
"type": "string"
},
"key": {
"type": "string"
}
}
},
"license": {
"type": "object",
"properties": {
@@ -9740,25 +9270,6 @@ func init() {
}
}
},
"logSearchConfiguration": {
"type": "object",
"properties": {
"image": {
"type": "string"
},
"postgres_image": {
"type": "string"
},
"storageClass": {
"type": "string",
"default": ""
},
"storageSize": {
"type": "number",
"default": 5
}
}
},
"logSearchResponse": {
"type": "object",
"properties": {
@@ -10216,22 +9727,6 @@ func init() {
}
}
},
"prometheusConfiguration": {
"type": "object",
"properties": {
"image": {
"type": "string"
},
"storageClass": {
"type": "string",
"default": ""
},
"storageSize": {
"type": "number",
"default": 5
}
}
},
"putBucketRetentionRequest": {
"type": "object",
"required": [
@@ -10732,33 +10227,6 @@ func init() {
}
}
},
"tlsConfiguration": {
"type": "object",
"properties": {
"ca_certificates": {
"type": "array",
"items": {
"type": "string"
}
},
"console": {
"type": "object",
"$ref": "#/definitions/keyPairConfiguration"
},
"console_ca_certificates": {
"type": "array",
"items": {
"type": "string"
}
},
"minio": {
"type": "array",
"items": {
"$ref": "#/definitions/keyPairConfiguration"
}
}
}
},
"transitionResponse": {
"type": "object",
"properties": {