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

Tweak the schema to use summary instead of description and add tags

This commit is contained in:
Quentin Gliech
2024-07-26 17:19:15 +02:00
parent 3f947025e2
commit cdecac735e
5 changed files with 30 additions and 7 deletions

View File

@ -18,7 +18,10 @@
"paths": {
"/api/admin/v1/users": {
"get": {
"description": "List users",
"tags": [
"user"
],
"summary": "List users",
"parameters": [
{
"in": "query",
@ -171,7 +174,10 @@
},
"/api/admin/v1/users/{id}": {
"get": {
"description": "Get a user",
"tags": [
"user"
],
"summary": "Get a user",
"parameters": [
{
"in": "path",
@ -238,7 +244,10 @@
},
"/api/admin/v1/users/by-username/{username}": {
"get": {
"description": "Get a user by its username (localpart)",
"tags": [
"user"
],
"summary": "Get a user by its username (localpart)",
"parameters": [
{
"in": "path",
@ -631,5 +640,11 @@
"urn:mas:admin"
]
}
],
"tags": [
{
"name": "user",
"description": "Manage users"
}
]
}