File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -545,6 +545,46 @@ paths:
545
545
$ref : ' #/components/responses/ForbiddenError'
546
546
' 404 ' :
547
547
$ref : ' #/components/responses/NotFoundError'
548
+
549
+ # TODO: remove, this was implemented just for testing purposes
550
+ /users/pw/{username} :
551
+ get :
552
+ tags :
553
+ - user
554
+ summary : Get password of a user
555
+ description : Get hashed password of a user by username
556
+ operationId : getUserPassword
557
+ parameters :
558
+ - name : username
559
+ in : path
560
+ required : true
561
+ schema :
562
+ type : string
563
+ responses :
564
+ ' 200 ' :
565
+ description : Password retrieved
566
+ content :
567
+ application/json :
568
+ schema :
569
+ type : object
570
+ properties :
571
+ password :
572
+ type : string
573
+ description : Password of the user
574
+ ' 400 ' :
575
+ $ref : ' #/components/responses/InvalidInputError'
576
+ ' 422 ' :
577
+ $ref : ' #/components/responses/ValidationError'
578
+ ' 500 ' :
579
+ $ref : ' #/components/responses/InternalServerError'
580
+ ' 503 ' :
581
+ $ref : ' #/components/responses/UnexpectedError'
582
+ ' 401 ' :
583
+ $ref : ' #/components/responses/UnauthorizedError'
584
+ ' 403 ' :
585
+ $ref : ' #/components/responses/ForbiddenError'
586
+ ' 404 ' :
587
+ $ref : ' #/components/responses/NotFoundError'
548
588
549
589
/users/me/cars :
550
590
You can’t perform that action at this time.
0 commit comments