fix(database): OpenAPI spec for test_connection (#12274)
* fix(database): OpenAPI spec for test_connection * updated OpenAPI spec on superset docs * EOL
This commit is contained in:
parent
0171a6bee4
commit
2b6a58780a
File diff suppressed because it is too large
Load Diff
|
|
@ -179,6 +179,7 @@ class DatabaseRestApi(BaseSupersetModelRestApi):
|
|||
openapi_spec_tag = "Database"
|
||||
openapi_spec_component_schemas = (
|
||||
DatabaseRelatedObjectsResponse,
|
||||
DatabaseTestConnectionSchema,
|
||||
TableMetadataResponseSchema,
|
||||
SelectStarResponseSchema,
|
||||
SchemasResponseSchema,
|
||||
|
|
@ -560,16 +561,7 @@ class DatabaseRestApi(BaseSupersetModelRestApi):
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
encrypted_extra:
|
||||
type: object
|
||||
extras:
|
||||
type: object
|
||||
name:
|
||||
type: string
|
||||
server_cert:
|
||||
type: string
|
||||
$ref: "#/components/schemas/DatabaseTestConnectionSchema"
|
||||
responses:
|
||||
200:
|
||||
description: Database Test Connection
|
||||
|
|
|
|||
Loading…
Reference in New Issue