Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: added @RequestMapper/@ResponseMapper #11

Merged
merged 14 commits into from
Jan 18, 2018

Conversation

f3l1x
Copy link
Member

@f3l1x f3l1x commented Jan 16, 2018

@f3l1x f3l1x added this to the v0.2 milestone Jan 16, 2018
*/
public function fromRequest(ApiRequest $request)
{
if (in_array($request->getMethod(), [Endpoint::METHOD_POST, Endpoint::METHOD_PUT])) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about PATCH method?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going to add id.

@f3l1x f3l1x merged commit e213a60 into master Jan 18, 2018
@f3l1x f3l1x deleted the feature/schema-refactoring branch January 18, 2018 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Add @RequestMapping
2 participants