FIX: canUntoggle logic

This commit is contained in:
Gabriel Rosa
2023-01-12 16:47:43 -03:00
parent e9582a51c2
commit 8c8fdf5f88
6 changed files with 50 additions and 26 deletions
+24 -1
View File
@@ -1587,6 +1587,17 @@
],
"type": "string"
}
},
{
"name": "canUntoggleLogic",
"required": false,
"in": "query",
"schema": {
"enum": [
"data_assets_sharing"
],
"type": "string"
}
}
],
"responses": {
@@ -3339,7 +3350,7 @@
}
},
"info": {
"title": "Maestro - main",
"title": "Maestro - fix/can-untoggle",
"description": "Documentation for Maestro gateway",
"version": "1.0.0",
"contact": {}
@@ -3993,6 +4004,10 @@
},
"usage": {
"type": "string"
},
"canUntoggle": {
"type": "boolean",
"description": "Whether this role can be untoggled"
}
},
"required": [
@@ -4470,6 +4485,10 @@
},
"usage": {
"type": "string"
},
"canUntoggle": {
"type": "boolean",
"description": "Whether this role can be untoggled"
}
},
"required": [
@@ -4560,6 +4579,10 @@
},
"usage": {
"type": "string"
},
"canUntoggle": {
"type": "boolean",
"description": "Whether this role can be untoggled"
}
},
"required": [