mirror of
https://github.com/apache/superset.git
synced 2026-08-04 13:02:41 +00:00
feat(build): migrate from Prettier to Oxfmt for performant code formatting (#42434)
This commit is contained in:
@@ -1 +1,68 @@
|
||||
{"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"result":{"description":"Menu items in a forest like data structure","items":{"properties":{"childs":{"items":{"type":"object"},"type":"array"},"icon":{"description":"Icon name to show for this menu item","type":"string"},"label":{"description":"Pretty name for the menu item","type":"string"},"name":{"description":"The internal menu item name, maps to permission_name","type":"string"},"url":{"description":"The URL for the menu item","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"example":{"result":[{"childs":[],"icon":"string","label":"string","name":"string","url":"string"}]}}},"description":"Get menu data"},"401":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string"}},"type":"object"},"example":{"message":"Unauthorized: Authentication required"}}},"description":"Unauthorized"}}}
|
||||
{
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"properties": {
|
||||
"result": {
|
||||
"description": "Menu items in a forest like data structure",
|
||||
"items": {
|
||||
"properties": {
|
||||
"childs": {
|
||||
"items": { "type": "object" },
|
||||
"type": "array"
|
||||
},
|
||||
"icon": {
|
||||
"description": "Icon name to show for this menu item",
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"description": "Pretty name for the menu item",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "The internal menu item name, maps to permission_name",
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"description": "The URL for the menu item",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"example": {
|
||||
"result": [
|
||||
{
|
||||
"childs": [],
|
||||
"icon": "string",
|
||||
"label": "string",
|
||||
"name": "string",
|
||||
"url": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Get menu data"
|
||||
},
|
||||
"401": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"properties": { "message": { "type": "string" } },
|
||||
"type": "object"
|
||||
},
|
||||
"example": { "message": "Unauthorized: Authentication required" }
|
||||
}
|
||||
},
|
||||
"description": "Unauthorized"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user