mirror of
https://github.com/apache/superset.git
synced 2026-04-17 23:25:05 +00:00
fix(open-api): Add missing FormatQueryPayloadSchema and DashboardScreenshotPostSchema to open-api component schemas (#33202)
This commit is contained in:
@@ -89,6 +89,7 @@ from superset.dashboards.schemas import (
|
||||
DashboardNativeFiltersConfigUpdateSchema,
|
||||
DashboardPostSchema,
|
||||
DashboardPutSchema,
|
||||
DashboardScreenshotPostSchema,
|
||||
EmbeddedDashboardConfigSchema,
|
||||
EmbeddedDashboardResponseSchema,
|
||||
get_delete_ids_schema,
|
||||
@@ -312,6 +313,7 @@ class DashboardRestApi(BaseSupersetModelRestApi):
|
||||
TabsPayloadSchema,
|
||||
GetFavStarIdsSchema,
|
||||
EmbeddedDashboardResponseSchema,
|
||||
DashboardScreenshotPostSchema,
|
||||
)
|
||||
apispec_parameter_schemas = {
|
||||
"get_delete_ids_schema": get_delete_ids_schema,
|
||||
|
||||
@@ -88,6 +88,7 @@ class SqlLabRestApi(BaseSupersetApi):
|
||||
openapi_spec_component_schemas = (
|
||||
EstimateQueryCostSchema,
|
||||
ExecutePayloadSchema,
|
||||
FormatQueryPayloadSchema,
|
||||
QueryExecutionResponseSchema,
|
||||
SQLLabBootstrapSchema,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user