You've already forked authentication-service
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:
@@ -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| {
|
||||
|
@@ -165,6 +165,7 @@
|
||||
"user"
|
||||
],
|
||||
"summary": "Create a new user",
|
||||
"operationId": "createUser",
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
|
Reference in New Issue
Block a user