From 2b697deaa30c4a5a39e88f071978037a735e66bc Mon Sep 17 00:00:00 2001 From: Dokploy Bot Date: Sun, 5 Apr 2026 04:41:59 +0000 Subject: [PATCH] chore: sync OpenAPI specification [skip ci] Source: Dokploy/dokploy@6c834a9127db4cda687b995f38028418098f80aa Updated: 2026-04-05 04:41:59 UTC --- apps/docs/public/openapi.json | 98 +++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) diff --git a/apps/docs/public/openapi.json b/apps/docs/public/openapi.json index 769e60f..b10487e 100644 --- a/apps/docs/public/openapi.json +++ b/apps/docs/public/openapi.json @@ -45823,6 +45823,104 @@ } } }, + "/user.createUserWithCredentials": { + "post": { + "operationId": "user-createUserWithCredentials", + "tags": [ + "user" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email", + "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$" + }, + "password": { + "type": "string", + "minLength": 8 + }, + "role": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "email", + "password", + "role" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + } + } + }, + "400": { + "description": "Invalid input data", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.BAD_REQUEST" + } + } + } + }, + "401": { + "description": "Authorization not provided", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.UNAUTHORIZED" + } + } + } + }, + "403": { + "description": "Insufficient access", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.FORBIDDEN" + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.INTERNAL_SERVER_ERROR" + } + } + } + } + } + } + }, "/user.sendInvitation": { "post": { "operationId": "user-sendInvitation",