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

Missing schema validation for 'body' element placed in the wrong level #84

Closed
valeryia-babitskaya opened this issue May 27, 2019 · 0 comments
Labels
Milestone

Comments

@valeryia-babitskaya
Copy link

valeryia-babitskaya commented May 27, 2019

Screenshot_1

No schema validation if 'body' element placed in the same level as 'expect'

[
  {
    "name": "GitHubHATEOSTest",
    "calls": [
      {
        "on": {
          "method": "GET",
          "url": "/rest/v1/employee/todo/count?company=REST.To.Do&employee:username=managerCounterDistrToDo",
          "headers": {
            "Accept": "application/json"
          }
        },
        "expect": {
          "statusCode": 401
        },
        "body": {
          "errors": [
            {
              "code": 401,
              "message": "Authentication is required. Missed Authentication header"
            }
          ]
        }
      }
    ]
  }
]
@kajf kajf closed this as completed in 2fec926 May 28, 2019
@dpfg dpfg added this to the 0.8.13 milestone Jun 12, 2019
@dpfg dpfg added the bug label Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants