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

This commit is contained in:
Quentin Gliech
2024-08-01 15:17:14 +02:00
parent 3f947025e2
commit cdecac735e
5 changed files with 30 additions and 7 deletions
+18 -3
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"
}
]
}