Skip to content

Commit

Permalink
bug #425 Change parameter name to make it consistent with reset passw…
Browse files Browse the repository at this point in the history
…ord (dlobato)

This PR was merged into the 1.0-dev branch.

Discussion
----------

The body parameter is always called content on all endpoints.

Commits
-------

49b053e Change parameter name to make it consistent with reset password
  • Loading branch information
lchrusciel authored Apr 10, 2019
2 parents a74ff98 + 49b053e commit fe33fb7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -705,9 +705,8 @@ paths:
description: "Email with reset password path will be sent to user. Default path for password resetting is `/password-reset/{token}`. To change it, you need to override template `@SyliusShopApi\\Email\\passwordReset.html.twig`."
operationId: "requestPasswordReset"
parameters:
- name: "email"
- name: "content"
in: "body"
description: "Email of user which want to reset password."
required: true
schema:
$ref: "#/definitions/RequestPasswordResetting"
Expand Down

0 comments on commit fe33fb7

Please sign in to comment.