Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

[Json/Server] Return the invalid parameters list #25

Open
@GeeH

Description

@GeeH

This issue has been moved from thezendframework repository as part of the bug migration program as outlined here -http://framework.zend.com/blog/2016-04-11-issue-closures.html


Original Issue:https://api.github.com/repos/zendframework/zendframework/issues/7544
User: @dreadnought78
Created On: 2015-05-23T22:04:16Z
Updated At: 2015-11-06T23:57:01Z
Body
If the user forgot or send some required parameter with a wrong name the server returns the error ERROR_INVALID_PARAMS.

This request added a invalid parameters list in the json response.

Result before

{"error":{"code":-32602,"message":"Invalid params","data":null},"id":"8","jsonrpc":"2.0"}

Result after

{"error":{"code":-32602,"message":"Invalid param(s): [estimatedMonths, location, specieId, coatTypeId]","data":null},"id":"8","jsonrpc":"2.0"}

*Please do not consider this pull request if this implementation has not been made before for security reasons.


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp