Skip to content
New issue

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

Use the validate option within the passed config on semverize Parameters #12

Closed
thebruce opened this issue May 2, 2018 · 0 comments
Closed

Comments

@thebruce
Copy link
Member

thebruce commented May 2, 2018

When using or overriding the defaults we can and should validate what's coming in to ensure that it looks good. However some of the flexibility of SGS is to allow folks to use their own templates. In this case this might also affect their dataSources.

In the options for swaggerSrc and paths we have a validate option that is a boolean. We want to use this value to inform whether or not we use the validate option on the data that comes through.

This will involve SemverizeParameters - where the data is validated.

This will also involve the index.js spMaker and the init function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant