diff --git a/public/openapi-specification/11.4.1/v0.9.json b/public/openapi-specification/11.4.1/v0.9.json index 0170c43e..370a1f14 100644 --- a/public/openapi-specification/11.4.1/v0.9.json +++ b/public/openapi-specification/11.4.1/v0.9.json @@ -14134,4 +14134,4 @@ } } } -} \ No newline at end of file +} diff --git a/public/openapi-specification/11.4.1/v2.json b/public/openapi-specification/11.4.1/v2.json index 1a6aea36..8ffc12fb 100644 --- a/public/openapi-specification/11.4.1/v2.json +++ b/public/openapi-specification/11.4.1/v2.json @@ -64592,17 +64592,8 @@ "description": "Contents may vary based on data source type of the DB connection" }, "com.querypie.api.external.v2.dbam.connection.ExternalV2ConnectionDto$GetDbConnectionResponse": { - "required": [ - "common" - ], "type": "object", - "properties": { - "common": { - "$ref": "#/components/schemas/com.querypie.api.external.v2.dbam.connection.ExternalV2ConnectionDto$GetDbConnectionResponseCommon" - } - }, "discriminator": { - "propertyName": "databaseType", "mapping": { "ATHENA": "#/components/schemas/com.querypie.api.external.v2.dbam.connection.ExternalV2ConnectionDto$AthenaConnectionResponse", "AZURESQL": "#/components/schemas/com.querypie.api.external.v2.dbam.connection.ExternalV2ConnectionDto$AzureSQLConnectionResponse", @@ -64630,7 +64621,8 @@ "SQLSERVER": "#/components/schemas/com.querypie.api.external.v2.dbam.connection.ExternalV2ConnectionDto$SQLServerConnectionResponse", "TIBERO": "#/components/schemas/com.querypie.api.external.v2.dbam.connection.ExternalV2ConnectionDto$TiberoConnectionResponse", "TRINO": "#/components/schemas/com.querypie.api.external.v2.dbam.connection.ExternalV2ConnectionDto$TrinoConnectionResponse" - } + }, + "propertyName": "databaseType" }, "oneOf": [ { @@ -64711,6 +64703,14 @@ { "$ref": "#/components/schemas/com.querypie.api.external.v2.dbam.connection.ExternalV2ConnectionDto$ShardingSphereMySqlConnectionResponse" } + ], + "properties": { + "common": { + "$ref": "#/components/schemas/com.querypie.api.external.v2.dbam.connection.ExternalV2ConnectionDto$GetDbConnectionResponseCommon" + } + }, + "required": [ + "common" ] }, "com.querypie.api.external.v2.dbam.connection.ExternalV2ConnectionDto$GetDbConnectionResponseCommon": { @@ -69910,10 +69910,10 @@ } }, "discriminator": { - "propertyName": "secretStoreType", "mapping": { "HASHICORP_VAULT": "#/components/schemas/com.querypie.api.external.v2.secretstore.ExternalV2SecretStoreDto$AddRequest$Vault" - } + }, + "propertyName": "secretStoreType" } }, "com.querypie.api.external.v2.secretstore.ExternalV2SecretStoreDto$AddRequest$Vault": { @@ -70007,10 +70007,10 @@ } }, "discriminator": { - "propertyName": "secretStoreType", "mapping": { "HASHICORP_VAULT": "#/components/schemas/com.querypie.api.external.v2.secretstore.ExternalV2SecretStoreDto$DetailResponse$Vault" - } + }, + "propertyName": "secretStoreType" } }, "com.querypie.api.external.v2.secretstore.ExternalV2SecretStoreDto$DetailResponse$Vault": { @@ -70069,17 +70069,17 @@ }, "com.querypie.api.external.v2.secretstore.ExternalV2SecretStoreDto$EditRequest": { "type": "object", + "oneOf": [ + { + "$ref": "#/components/schemas/com.querypie.api.external.v2.secretstore.ExternalV2SecretStoreDto$EditRequest$Vault" + } + ], "properties": { "name": { "type": "string", "description": "Secret store name" } - }, - "oneOf": [ - { - "$ref": "#/components/schemas/com.querypie.api.external.v2.secretstore.ExternalV2SecretStoreDto$EditRequest$Vault" - } - ] + } }, "com.querypie.api.external.v2.secretstore.ExternalV2SecretStoreDto$EditRequest$Vault": { "title": "HASHICORP_VAULT", @@ -78837,30 +78837,16 @@ } }, "com.querypie.sam.interfaces.http.external.AwsCredential": { - "required": [ - "credentialOption" - ], "type": "object", - "properties": { - "credentialOption": { - "type": "string", - "enum": [ - "DEFAULT_CREDENTIAL", - "CROSS_ACCOUNT_ROLE", - "PROFILE_CREDENTIAL", - "ACCESS_KEY" - ] - } - }, "description": "Credential Details", "discriminator": { - "propertyName": "credentialOption", "mapping": { "ACCESS_KEY": "#/components/schemas/com.querypie.sam.interfaces.http.external.AccessKeyCredential", "CROSS_ACCOUNT_ROLE": "#/components/schemas/com.querypie.sam.interfaces.http.external.CrossAccountRole", "DEFAULT_CREDENTIAL": "#/components/schemas/com.querypie.sam.interfaces.http.external.DefaultCredential", "PROFILE_CREDENTIAL": "#/components/schemas/com.querypie.sam.interfaces.http.external.ProfileCredential" - } + }, + "propertyName": "credentialOption" }, "oneOf": [ { @@ -78875,32 +78861,46 @@ { "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.AccessKeyCredential" } - ] - }, - "com.querypie.sam.interfaces.http.external.AzureCredential": { - "required": [ - "credentialOption" ], - "type": "object", "properties": { "credentialOption": { "type": "string", "enum": [ - "CLIENT_SECRET" + "DEFAULT_CREDENTIAL", + "CROSS_ACCOUNT_ROLE", + "PROFILE_CREDENTIAL", + "ACCESS_KEY" ] } }, + "required": [ + "credentialOption" + ] + }, + "com.querypie.sam.interfaces.http.external.AzureCredential": { + "type": "object", "description": "Credential Details", "discriminator": { - "propertyName": "credentialOption", "mapping": { "CLIENT_SECRET": "#/components/schemas/com.querypie.sam.interfaces.http.external.ClientSecret" - } + }, + "propertyName": "credentialOption" }, "oneOf": [ { "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.ClientSecret" } + ], + "properties": { + "credentialOption": { + "type": "string", + "enum": [ + "CLIENT_SECRET" + ] + } + }, + "required": [ + "credentialOption" ] }, "com.querypie.sam.interfaces.http.external.ClientSecret": { @@ -79222,13 +79222,26 @@ } }, "com.querypie.sam.interfaces.http.external.CreateCloudProviderRequest": { - "required": [ - "name", - "port", - "replicationFrequency", - "type" - ], "type": "object", + "discriminator": { + "mapping": { + "AWS": "#/components/schemas/com.querypie.sam.interfaces.http.external.CreateAwsCloudProviderRequest", + "AZURE": "#/components/schemas/com.querypie.sam.interfaces.http.external.CreateAzureCloudProviderRequest", + "GCP": "#/components/schemas/com.querypie.sam.interfaces.http.external.CreateGcpCloudProviderRequest" + }, + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.CreateAwsCloudProviderRequest" + }, + { + "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.CreateGcpCloudProviderRequest" + }, + { + "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.CreateAzureCloudProviderRequest" + } + ], "properties": { "defaultTags": { "type": "array", @@ -79278,24 +79291,11 @@ "default": false } }, - "discriminator": { - "propertyName": "type", - "mapping": { - "AWS": "#/components/schemas/com.querypie.sam.interfaces.http.external.CreateAwsCloudProviderRequest", - "AZURE": "#/components/schemas/com.querypie.sam.interfaces.http.external.CreateAzureCloudProviderRequest", - "GCP": "#/components/schemas/com.querypie.sam.interfaces.http.external.CreateGcpCloudProviderRequest" - } - }, - "oneOf": [ - { - "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.CreateAwsCloudProviderRequest" - }, - { - "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.CreateGcpCloudProviderRequest" - }, - { - "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.CreateAzureCloudProviderRequest" - } + "required": [ + "name", + "port", + "replicationFrequency", + "type" ] }, "com.querypie.sam.interfaces.http.external.CreateCloudProviderResponse": { @@ -79514,10 +79514,15 @@ } }, "com.querypie.sam.interfaces.http.external.CreateServerAccountRequest": { - "required": [ - "accountType" - ], "type": "object", + "oneOf": [ + { + "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.CreateServerAccountRequest$Querypie" + }, + { + "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.CreateServerAccountRequest$Vault" + } + ], "properties": { "accountType": { "type": "string", @@ -79528,13 +79533,8 @@ ] } }, - "oneOf": [ - { - "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.CreateServerAccountRequest$Querypie" - }, - { - "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.CreateServerAccountRequest$Vault" - } + "required": [ + "accountType" ] }, "com.querypie.sam.interfaces.http.external.CreateServerAccountRequest$Querypie": { @@ -80396,29 +80396,29 @@ "description": "Server Search Filter" }, "com.querypie.sam.interfaces.http.external.GcpCredential": { - "required": [ - "credentialOption" - ], "type": "object", - "properties": { - "credentialOption": { - "type": "string", - "enum": [ - "SERVICE_ACCOUNT" - ] - } - }, "description": "Credential Details", "discriminator": { - "propertyName": "credentialOption", "mapping": { "SERVICE_ACCOUNT": "#/components/schemas/com.querypie.sam.interfaces.http.external.ServiceAccount" - } + }, + "propertyName": "credentialOption" }, "oneOf": [ { "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.ServiceAccount" } + ], + "properties": { + "credentialOption": { + "type": "string", + "enum": [ + "SERVICE_ACCOUNT" + ] + } + }, + "required": [ + "credentialOption" ] }, "com.querypie.sam.interfaces.http.external.GetAssignedRolesResponse": { @@ -80801,18 +80801,27 @@ } }, "com.querypie.sam.interfaces.http.external.GetCloudProviderResponse": { - "required": [ - "defaultTags", - "name", - "port", - "replicationFrequency", - "searchFilter", - "type", - "useCaseSensitive", - "useRegularExpression", - "uuid" - ], "type": "object", + "description": "Object list per entry", + "discriminator": { + "mapping": { + "AWS": "#/components/schemas/com.querypie.sam.interfaces.http.external.GetAwsCloudProviderResponse", + "AZURE": "#/components/schemas/com.querypie.sam.interfaces.http.external.GetAzureCloudProviderResponse", + "GCP": "#/components/schemas/com.querypie.sam.interfaces.http.external.GetGcpCloudProviderResponse" + }, + "propertyName": "type" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.GetAwsCloudProviderResponse" + }, + { + "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.GetGcpCloudProviderResponse" + }, + { + "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.GetAzureCloudProviderResponse" + } + ], "properties": { "defaultTags": { "type": "array", @@ -80864,25 +80873,16 @@ "format": "uuid" } }, - "description": "Object list per entry", - "discriminator": { - "propertyName": "type", - "mapping": { - "AWS": "#/components/schemas/com.querypie.sam.interfaces.http.external.GetAwsCloudProviderResponse", - "AZURE": "#/components/schemas/com.querypie.sam.interfaces.http.external.GetAzureCloudProviderResponse", - "GCP": "#/components/schemas/com.querypie.sam.interfaces.http.external.GetGcpCloudProviderResponse" - } - }, - "oneOf": [ - { - "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.GetAwsCloudProviderResponse" - }, - { - "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.GetGcpCloudProviderResponse" - }, - { - "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.GetAzureCloudProviderResponse" - } + "required": [ + "defaultTags", + "name", + "port", + "replicationFrequency", + "searchFilter", + "type", + "useCaseSensitive", + "useRegularExpression", + "uuid" ] }, "com.querypie.sam.interfaces.http.external.GetGcpCloudProviderResponse": { @@ -81624,8 +81624,8 @@ }, "expirationDate": { "type": "string", - "description": "Expiration date ( e.g., yyyy-MM-dd ) if not included in the API call, it never expires", - "format": "date" + "format": "date", + "description": "Expiration date ( e.g., yyyy-MM-dd ) if not included in the API call, it never expires" }, "ipAddresses": { "type": "array", @@ -81709,8 +81709,8 @@ }, "whitelistExpirationDate": { "type": "string", - "description": "Whitelist expiration date ( e.g., yyyy-MM-dd )
\n If not mentioned, it will follow the value defined in expirationDate.", - "format": "date" + "format": "date", + "description": "Whitelist expiration date ( e.g., yyyy-MM-dd )
\n If not mentioned, it will follow the value defined in expirationDate." } }, "description": "Whitelist
If this object is not included in the API call, this Direct Permission will be granted without whitelists." @@ -81794,8 +81794,8 @@ }, "expirationDate": { "type": "string", - "description": "Expiration date ( e.g., yyyy-MM-dd ) if not included in the API call, it never expires", - "format": "date" + "format": "date", + "description": "Expiration date ( e.g., yyyy-MM-dd ) if not included in the API call, it never expires" }, "ipAddresses": { "type": "array", @@ -81881,8 +81881,8 @@ }, "whitelistExpirationDate": { "type": "string", - "description": "Whitelist expiration date ( e.g., yyyy-MM-dd )
\n If not mentioned, it will follow the value defined in expirationDate.", - "format": "date" + "format": "date", + "description": "Whitelist expiration date ( e.g., yyyy-MM-dd )
\n If not mentioned, it will follow the value defined in expirationDate." } }, "description": "Whitelist
If this object is not included in the API call, this Direct Permission will be granted without whitelists." @@ -82116,8 +82116,8 @@ }, "expiryAt": { "type": "string", - "description": "Expiration date ( e.g., yyyy-MM-dd )", - "format": "date" + "format": "date", + "description": "Expiration date ( e.g., yyyy-MM-dd )" }, "serverRoleUuids": { "type": "array", @@ -82172,8 +82172,8 @@ }, "whitelistExpirationDate": { "type": "string", - "description": "Whitelist expiration date ( e.g., yyyy-MM-dd )
If not mentioned, it will follow the value defined in expirationDate.", - "format": "date" + "format": "date", + "description": "Whitelist expiration date ( e.g., yyyy-MM-dd )
If not mentioned, it will follow the value defined in expirationDate." } }, "description": "Whitelist" @@ -82427,22 +82427,14 @@ "description": "Cloud provider tag info" }, "com.querypie.sam.interfaces.http.external.ListServerAccountsResponse": { - "required": [ - "common" - ], "type": "object", - "properties": { - "common": { - "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.ListServerAccountsResponseCommonItem" - } - }, "description": "Object list per entry", "discriminator": { - "propertyName": "accountType", "mapping": { "QUERYPIE": "#/components/schemas/com.querypie.sam.interfaces.http.external.QuerypieAccount", "VAULT": "#/components/schemas/com.querypie.sam.interfaces.http.external.VaultAccount" - } + }, + "propertyName": "accountType" }, "oneOf": [ { @@ -82451,6 +82443,14 @@ { "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.VaultAccount" } + ], + "properties": { + "common": { + "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.ListServerAccountsResponseCommonItem" + } + }, + "required": [ + "common" ] }, "com.querypie.sam.interfaces.http.external.ListServerAccountsResponseCommonItem": { @@ -83036,27 +83036,14 @@ } }, "com.querypie.sam.interfaces.http.external.ReplicationFrequency": { - "required": [ - "replicationType" - ], "type": "object", - "properties": { - "replicationType": { - "type": "string", - "description": "Server Cloud Provider Replication Type", - "enum": [ - "MANUAL", - "SCHEDULE" - ] - } - }, "description": "Replication Frequency", "discriminator": { - "propertyName": "replicationType", "mapping": { "MANUAL": "#/components/schemas/com.querypie.sam.interfaces.http.external.ReplicationFrequency$Manual", "SCHEDULE": "#/components/schemas/com.querypie.sam.interfaces.http.external.ReplicationFrequency$Schedule" - } + }, + "propertyName": "replicationType" }, "oneOf": [ { @@ -83065,6 +83052,19 @@ { "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.ReplicationFrequency$Schedule" } + ], + "properties": { + "replicationType": { + "type": "string", + "description": "Server Cloud Provider Replication Type", + "enum": [ + "MANUAL", + "SCHEDULE" + ] + } + }, + "required": [ + "replicationType" ] }, "com.querypie.sam.interfaces.http.external.ReplicationFrequency$Manual": { @@ -83534,28 +83534,14 @@ } }, "com.querypie.sam.interfaces.http.external.SyncCloudProviderRequest": { - "required": [ - "type" - ], "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "AWS", - "GCP", - "AZURE", - "CUSTOM" - ] - } - }, "discriminator": { - "propertyName": "type", "mapping": { "AWS": "#/components/schemas/com.querypie.sam.interfaces.http.external.SyncCloudProviderRequest$Aws", "AZURE": "#/components/schemas/com.querypie.sam.interfaces.http.external.SyncCloudProviderRequest$Azure", "GCP": "#/components/schemas/com.querypie.sam.interfaces.http.external.SyncCloudProviderRequest$Gcp" - } + }, + "propertyName": "type" }, "oneOf": [ { @@ -83567,6 +83553,20 @@ { "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.SyncCloudProviderRequest$Azure" } + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "AWS", + "GCP", + "AZURE", + "CUSTOM" + ] + } + }, + "required": [ + "type" ] }, "com.querypie.sam.interfaces.http.external.SyncCloudProviderRequest$Aws": { @@ -83591,29 +83591,29 @@ } }, "com.querypie.sam.interfaces.http.external.SyncCloudProviderRequest$Aws$Credential": { - "required": [ - "credentialOption" - ], "type": "object", - "properties": { - "credentialOption": { - "type": "string", - "enum": [ - "ACCESS_KEY" - ] - } - }, "description": "Credential Details", "discriminator": { - "propertyName": "credentialOption", "mapping": { "ACCESS_KEY": "#/components/schemas/com.querypie.sam.interfaces.http.external.SyncCloudProviderRequest$Aws$Credential$AccessKey" - } + }, + "propertyName": "credentialOption" }, "oneOf": [ { "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.SyncCloudProviderRequest$Aws$Credential$AccessKey" } + ], + "properties": { + "credentialOption": { + "type": "string", + "enum": [ + "ACCESS_KEY" + ] + } + }, + "required": [ + "credentialOption" ] }, "com.querypie.sam.interfaces.http.external.SyncCloudProviderRequest$Aws$Credential$AccessKey": { @@ -83662,29 +83662,29 @@ } }, "com.querypie.sam.interfaces.http.external.SyncCloudProviderRequest$Azure$Credential": { - "required": [ - "credentialOption" - ], "type": "object", - "properties": { - "credentialOption": { - "type": "string", - "enum": [ - "CLIENT_SECRET" - ] - } - }, "description": "Credential Details", "discriminator": { - "propertyName": "credentialOption", "mapping": { "CLIENT_SECRET": "#/components/schemas/com.querypie.sam.interfaces.http.external.SyncCloudProviderRequest$Azure$Credential$ClientSecret" - } + }, + "propertyName": "credentialOption" }, "oneOf": [ { "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.SyncCloudProviderRequest$Azure$Credential$ClientSecret" } + ], + "properties": { + "credentialOption": { + "type": "string", + "enum": [ + "CLIENT_SECRET" + ] + } + }, + "required": [ + "credentialOption" ] }, "com.querypie.sam.interfaces.http.external.SyncCloudProviderRequest$Azure$Credential$ClientSecret": { @@ -83733,29 +83733,29 @@ } }, "com.querypie.sam.interfaces.http.external.SyncCloudProviderRequest$Gcp$Credential": { - "required": [ - "credentialOption" - ], "type": "object", - "properties": { - "credentialOption": { - "type": "string", - "enum": [ - "SERVICE_ACCOUNT" - ] - } - }, "description": "Credential Details", "discriminator": { - "propertyName": "credentialOption", "mapping": { "SERVICE_ACCOUNT": "#/components/schemas/com.querypie.sam.interfaces.http.external.SyncCloudProviderRequest$Gcp$Credential$ServiceAccount" - } + }, + "propertyName": "credentialOption" }, "oneOf": [ { "$ref": "#/components/schemas/com.querypie.sam.interfaces.http.external.SyncCloudProviderRequest$Gcp$Credential$ServiceAccount" } + ], + "properties": { + "credentialOption": { + "type": "string", + "enum": [ + "SERVICE_ACCOUNT" + ] + } + }, + "required": [ + "credentialOption" ] }, "com.querypie.sam.interfaces.http.external.SyncCloudProviderRequest$Gcp$Credential$ServiceAccount": {