Skip to content

Commit 7c03865

Browse files
committed
update swagger
1 parent b235f75 commit 7c03865

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

docs/swagger/swagger.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,37 @@
9696
}
9797
}
9898
},
99+
"/user/forgotpassword/{email}" : {
100+
"post" : {
101+
"tags" : [ "user" ],
102+
"summary" : "sends a reset password email",
103+
"description" : "The forgot password endpoint.",
104+
"parameters" : [ {
105+
"in" : "path",
106+
"name" : "email",
107+
"schema" : {
108+
"type" : "string",
109+
"format" : "email"
110+
},
111+
"required" : true,
112+
"description" : "email of the user"
113+
}],
114+
"responses" : {
115+
"200" : {
116+
"description" : "Reset password email sent"
117+
},
118+
"404" : {
119+
"description" : "User not found by email address provided"
120+
},
121+
"422" : {
122+
"description" : "Invalid input"
123+
},
124+
"500" : {
125+
"description" : "Server error"
126+
}
127+
}
128+
}
129+
},
99130
"/user" : {
100131
"post" : {
101132
"tags" : [ "user" ],

0 commit comments

Comments
 (0)