Skip to content

Commit

Permalink
deploy: de7612a
Browse files Browse the repository at this point in the history
  • Loading branch information
peterxcli committed Jan 19, 2024
1 parent 102dc2f commit 6ae26d6
Showing 1 changed file with 29 additions and 38 deletions.
67 changes: 29 additions & 38 deletions swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,35 @@
}
}
},
"/users": {
"get": {
"description": "Retrieves a list of users",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "Get Users",
"responses": {
"200": {
"description": "List of users successfully retrieved",
"schema": {
"$ref": "#/definitions/bikefest_pkg_model.UserListResponse"
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/bikefest_pkg_model.Response"
}
}
}
}
},
"/users/login/{user_id}": {
"get": {
"description": "Simulates a login process for a user by generating fake access and refresh tokens",
Expand Down Expand Up @@ -461,15 +490,6 @@
"User"
],
"summary": "Profile",
"parameters": [
{
"type": "string",
"description": "User ID",
"name": "user_id",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "Profile successfully retrieved",
Expand Down Expand Up @@ -621,35 +641,6 @@
}
}
}
},
"/users": {
"get": {
"description": "Retrieves a list of users",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "Get Users",
"responses": {
"200": {
"description": "List of users successfully retrieved",
"schema": {
"$ref": "#/definitions/bikefest_pkg_model.UserListResponse"
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/bikefest_pkg_model.Response"
}
}
}
}
}
},
"definitions": {
Expand Down

0 comments on commit 6ae26d6

Please sign in to comment.