openapi-contract-validator-server
Version:
Use an HTTP proxy to validate HTTP interactions against an OpenAPI Schema
17 lines (16 loc) • 330 B
JavaScript
/**
* All endpoints you want for which you want to validate the HTTP interaction
* must be defined in this file.
*
* Contracts can be defined as:
* 1. Absolute file path
* 2. Apiary url
*
* @type {endpointDefinition[]}
*/
module.exports = [
{
endpoint: '/',
validate: false,
},
];