Skip to content

Commit

Permalink
feat(server): update user endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
jrea committed Apr 1, 2024
1 parent c981d02 commit dda45ad
Show file tree
Hide file tree
Showing 7 changed files with 495 additions and 195 deletions.
27 changes: 19 additions & 8 deletions packages/server/openapi/index.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"openapi": "3.0.1",
"info": {
"version": "0.0.1",
"title": "Nile Server REST API",
"description": "A Node wrapper around the base Nile API.",
"contact": {
Expand All @@ -14,6 +15,16 @@
"/sign-up": {
"$ref": "../src/auth/signUp/openapi/paths/signUp.json"
},
"/users": {
"get": {
"$ref": "../src/users/listUsers/openapi/paths/listUsers.json"
}
},
"/users/{userId}": {
"post": {
"$ref": "../src/users/updateUser/openapi/paths/updateUser.json"
}
},
"/me": {
"$ref": "../src/users/me/openapi/paths/me.json"
},
Expand Down Expand Up @@ -168,14 +179,14 @@
"session_state_missing",
"session_state_mismatch",
"oidc_code_missing"
],
"message": {
"type": "string"
},
"statusCode": {
"type": "integer",
"format": "int32"
}
]
},
"message": {
"type": "string"
},
"statusCode": {
"type": "integer",
"format": "int32"
}
}
},
Expand Down
Loading

0 comments on commit dda45ad

Please sign in to comment.