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

Validator Api : Need Response values to be segregated #86

Open
RashmiMelagiri opened this issue Jul 20, 2020 · 0 comments
Open

Validator Api : Need Response values to be segregated #86

RashmiMelagiri opened this issue Jul 20, 2020 · 0 comments

Comments

@RashmiMelagiri
Copy link
Contributor

Currently for any type, the api response shows like below

Actual Results :
"type": [ { "key": "subheadline:string", "ids": [ "1643750" ] }, { "key": "temporary-hero-image-url:string", "ids": [ "1643750" ] } ]

Here, key showing both values i.e key and value of it and arrayObject is showing as type

Expected Results : The key and value response should be separate as shown in below instance

  1. type should be renamed as Errors.
  2. key and value response should be separate.
    "Errors": [ { "key": "subheadline, "type: "string" "ids": [ "1643750" ] }, { "key": "temporary-hero-image-url", "type": "string" "ids": [ "1643750" ] } ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant