fix: channels removed
This commit is contained in:
1 parent
4321fec734
commit
005d0f8040
5 files changed
+21
-3
No files matched your search
@@ -15,6 +15,7 @@ import { schemaUserEditBodyParams, schemaUserReadPublic } from "@lib/validations
|
||||
* /users/{id}:
|
||||
* get:
|
||||
* summary: Find a user, returns your user if regular user.
|
||||
* operationId: getUserById
|
||||
* parameters:
|
||||
* - in: path
|
||||
* name: id
|
||||
@@ -33,6 +34,7 @@ import { schemaUserEditBodyParams, schemaUserReadPublic } from "@lib/validations
|
||||
* description: User was not found
|
||||
* patch:
|
||||
* summary: Edit an existing user
|
||||
* operationId: editUserById
|
||||
* parameters:
|
||||
* - in: path
|
||||
* name: id
|
||||
@@ -51,6 +53,7 @@ import { schemaUserEditBodyParams, schemaUserReadPublic } from "@lib/validations
|
||||
* description: Authorization information is missing or invalid.
|
||||
* delete:
|
||||
* summary: Remove an existing user
|
||||
* operationId: deleteUserById
|
||||
* parameters:
|
||||
* - in: path
|
||||
* name: id
|
||||
|
||||
@@ -10,9 +10,10 @@ import { schemaUserReadPublic } from "@lib/validations/user";
|
||||
* @swagger
|
||||
* /users:
|
||||
* get:
|
||||
* summary: Find all users (admin only), returns your user if regular user.
|
||||
* summary: Find all users.
|
||||
* tags:
|
||||
* - users
|
||||
* operationId: listUsers
|
||||
* responses:
|
||||
* 200:
|
||||
* description: OK
|
||||
|
||||
Reference in new issue
Block a user