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 {
|
pub fn doc(operation: TransformOperation) -> TransformOperation {
|
||||||
operation
|
operation
|
||||||
|
.id("createUser")
|
||||||
.summary("Create a new user")
|
.summary("Create a new user")
|
||||||
.tag("user")
|
.tag("user")
|
||||||
.response_with::<200, Json<SingleResponse<User>>, _>(|t| {
|
.response_with::<200, Json<SingleResponse<User>>, _>(|t| {
|
||||||
|
@@ -165,6 +165,7 @@
|
|||||||
"user"
|
"user"
|
||||||
],
|
],
|
||||||
"summary": "Create a new user",
|
"summary": "Create a new user",
|
||||||
|
"operationId": "createUser",
|
||||||
"requestBody": {
|
"requestBody": {
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
|
Reference in New Issue
Block a user