We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node-restify-validation uses Validation like this:
validation: { resources: { id: { isRequired: true, isNatural: true }, label: { isRequired: true } }, queries : { status: { isRequired: true, isIn: ['foo','bar'] } }, content: { label: { isRequired: true } }
but node-restify-swagger uses:
validation: { q1: { isRequired: true, isIn: ['asdf'], scope: 'query', description: 'description q1'}, b1: { isRequired: true, isIn: ['asdf'], defaultValue: 'asdf', scope: 'body', description: 'description b1'}, p2: { isRequired: true, isIn: ['asdf'], defaultValue: 'asdf', scope: 'path', description: 'description p2'} }
And i think it is main reason why this don't work - are there any plans to update restify-swagger to newer version of node-restify-validation?
Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
node-restify-validation uses Validation like this:
but node-restify-swagger uses:
And i think it is main reason why this don't work - are there any plans to update restify-swagger to newer version of node-restify-validation?
Thanks
The text was updated successfully, but these errors were encountered: