You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: