+
Skip to content
This repository was archived by the owner on Oct 30, 2022. It is now read-only.
This repository was archived by the owner on Oct 30, 2022. It is now read-only.

Validate mock input data #138

@fornwall

Description

@fornwall

We should validate input data to the mock, so that if called with incorrect data not obeying the schema we

  • Return a good HTTP response code (perhaps a 5xx one).
  • Give a descriptive error message in the HTTP response.
  • Log a descriptive error message.

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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载