getsavedcards

This commit is contained in:
Le Viet
2022-05-30 21:47:40 +07:00
parent de08c434b3
commit 4ce4d0c3fd
4 changed files with 100 additions and 11 deletions
+22 -1
View File
@@ -293,7 +293,28 @@ module.exports = (app, url) => {
* app.post("usertransportlist");
* app.post("usertransportprofile");
* app.post("getdashcarddata");
* app.post("loadsavedcards");
*/
/**
* @swagger
* /v1/user/loadsavedcards:
* get:
* tags:
* - Users
* summary: Retrieve a single JSONPlaceholder user.
* description: Retrieve a single JSONPlaceholder user. Can be used to populate a user profile when prototyping or testing an API.
* security:
* - bearerAuth: []
* responses:
* 200:
* description: A single user.
* content:
* application/json:
* schema:
* type: object
* $ref: '#/components/schemas/Member'
*/
app.get(url + "user/loadsavedcards", auth, memberController.loadSavedCards);
/*
* app.post("savedashcard");
* app.post("saveuserbudget");
* app.post("resetpass");