You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by di...@apache.org on 2024/06/25 13:29:11 UTC
(superset) 13/22: change openapi schema
This is an automated email from the ASF dual-hosted git repository.
diegopucci pushed a commit to branch geido/feat/dashboard-endpoint-screenshot
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 54bb065a47c9c31a76539d73d7ee5cae7f82e2e2
Author: Edgar Ulloa <ul...@gmail.com>
AuthorDate: Tue Jun 11 17:32:15 2024 -0700
change openapi schema
---
superset/dashboards/api.py | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/superset/dashboards/api.py b/superset/dashboards/api.py
index 0a298bf707..125ee51f4e 100644
--- a/superset/dashboards/api.py
+++ b/superset/dashboards/api.py
@@ -910,28 +910,28 @@ class DashboardRestApi(BaseSupersetModelRestApi):
schema:
type: integer
name: pk
- requestBody:
- content:
- application/json:
+ requestBody:
+ content:
+ application/json:
schema:
- type: object
- properties:
- dataMask:
- type: object
- activeTabs:
- type: array
+ type: object
+ properties:
+ dataMask:
+ type: object
+ activeTabs:
+ type: array
+ items:
+ type: string
+ anchor:
+ type: string
+ urlParams:
+ type: array
items:
- type: string
- anchor:
- type: string
- urlParams:
type: array
items:
- type: array
- items:
- type: string
- minItems: 2
- maxItems: 2
+ type: string
+ minItems: 2
+ maxItems: 2
responses:
202:
description: Dashboard async result