@@ -34,6 +34,8 @@ paths:
/user:
post:
$ref: "./paths/user/create.yaml"
+ get:
+ $ref: "./paths/user/get_one.yaml"
/user/login:
$ref: "./paths/user/login.yaml"
@@ -0,0 +1,18 @@
+operationId: userGetOne
+summary: Get One
+security:
+ - UserAuth: []
+description: Retrieve the user data for a user
+tags: [User]
+
+responses:
+ "200":
+ description: User retrieved
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/User"
+ "401":
+ $ref: "#/components/responses/401"
+ "500":
+ $ref: "#/components/responses/500"