aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/openapi.json63
1 files changed, 40 insertions, 23 deletions
diff --git a/apps/user_ldap/openapi.json b/apps/user_ldap/openapi.json
index 739cc9cc3e7..61fcfea3e6b 100644
--- a/apps/user_ldap/openapi.json
+++ b/apps/user_ldap/openapi.json
@@ -133,20 +133,24 @@
"basic_auth": []
}
],
- "parameters": [
- {
- "name": "showPassword",
- "in": "query",
- "description": "Whether to show the password",
- "schema": {
- "type": "integer",
- "default": 0,
- "enum": [
- 0,
- 1
- ]
+ "requestBody": {
+ "required": false,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "showPassword": {
+ "type": "boolean",
+ "default": false,
+ "description": "Whether to show the password"
+ }
+ }
+ }
}
- },
+ }
+ },
+ "parameters": [
{
"name": "configID",
"in": "path",
@@ -246,16 +250,29 @@
"basic_auth": []
}
],
- "parameters": [
- {
- "name": "configData",
- "in": "query",
- "description": "New config",
- "required": true,
- "schema": {
- "type": "string"
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "required": [
+ "configData"
+ ],
+ "properties": {
+ "configData": {
+ "type": "object",
+ "description": "New config",
+ "additionalProperties": {
+ "type": "object"
+ }
+ }
+ }
+ }
}
- },
+ }
+ },
+ "parameters": [
{
"name": "configID",
"in": "path",
@@ -461,4 +478,4 @@
}
},
"tags": []
-} \ No newline at end of file
+}