Naturally Pacifist Marsupials

    chai-validate-response

    0.0.2 • Public • Published

    chai-validate-response

    A chai assertion plugin for validating Responses with a Swagger / OAI schema.

    Installation

    npm install --save-dev chai-validate-response
    

    Usage

    var chai = require("chai");
    var chaiValidateResponse = require("chai-validate-response");
    
    chai.use(chaiValidateResponse);

    See test cases for usage with different response types (JSON, Promise, express, superagent).

    License

    chai-validate-response is licensed unter the MIT License.

    Install

    npm i chai-validate-response

    DownloadsWeekly Downloads

    1

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • tmf