-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
swagger.json and Postman collection are not consitent /user vs /users #380
Comments
I ran into the same problem. What is the endpoint ot use? Also, the update user allows to change the username (which can affect articles authors, etc.) and also allows you to change the token (should that be stored in any place?). Thanks for your help! |
Good catch. We are going with:
See: https://github.com/gothinkster/realworld/blob/master/api/README.md#get-current-user Feel free to send a PR to correct |
Ok. I'll do the PR :) Could tell me if PUT is supporting all fields? For me, Thanks again! |
Yes. PUT user supports only |
Done... If something is wrong tell me in #396 :) |
The |
Hi all. Faced the same problem, the fix is here: #664 |
fixed by #664 |
In the swagger definition, fetching the current user is done with a GET /users:
https://github.com/gothinkster/realworld/blob/master/api/swagger.json#L108
In the Postman test collection, fetching the current user is done with a GET /user:
https://github.com/gothinkster/realworld/blob/master/api/Conduit.postman_collection.json#L224
The text was updated successfully, but these errors were encountered: