api-contract-validator
Version:
Plugin for validating API schemas from API documentation
10 lines (9 loc) • 440 B
JavaScript
module.exports = {
messages: {
FAILED_TO_EXTRACT_RESPONSE_DETAILS: 'failed to extract response details',
EXPECTED_RESPONSE_TO_MATCH_SCHEMA: 'expected response to match API schema',
EXPECTED_RESPONSE_TO_NOT_MATCH_SCHEMA: 'expected response to not match API schema',
REQUIRED_API_DEFINITIONS_PATH: "'apiDefinitionsPath' is required",
DUPLICATE_API_DEFINITION: 'same api definition exist in two seperated files',
},
};