1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-07 17:03:01 +03:00

admin: add operation ID on user add operation

This commit is contained in:
Quentin Gliech
2024-07-30 17:34:25 +02:00
parent 5833f1a2af
commit 65f1c45095
2 changed files with 2 additions and 0 deletions

View File

@@ -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<SingleResponse<User>>, _>(|t| {

View File

@@ -165,6 +165,7 @@
"user"
],
"summary": "Create a new user",
"operationId": "createUser",
"requestBody": {
"content": {
"application/json": {