"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var validator_1 = require("src/validate/validator");
describe('validate/validator', function () {
    var params = [
        { name: 'id', in: 'path', description: 'id', required: true, type: 'string' },
        { name: 'name', in: 'query', description: '', required: true, type: 'string' }
    ];
    it('getParamSchema ok', function () {
        var shema = validator_1.getParamSchema(params);
        expect(shema).toMatchSnapshot();
    });
});
//# sourceMappingURL=validator.test.js.map