diff --git a/crates/handlers/src/admin/v1/users/add.rs b/crates/handlers/src/admin/v1/users/add.rs index 6611dffe3..04d1347da 100644 --- a/crates/handlers/src/admin/v1/users/add.rs +++ b/crates/handlers/src/admin/v1/users/add.rs @@ -114,6 +114,7 @@ pub struct Request { pub fn doc(operation: TransformOperation) -> TransformOperation { operation + .id("createUser") .summary("Create a new user") .tag("user") .response_with::<200, Json>, _>(|t| { diff --git a/docs/api/spec.json b/docs/api/spec.json index 4058fa9b8..c1551a023 100644 --- a/docs/api/spec.json +++ b/docs/api/spec.json @@ -165,6 +165,7 @@ "user" ], "summary": "Create a new user", + "operationId": "createUser", "requestBody": { "content": { "application/json": {