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
In your response schema you can set additionalProperties: false and that will disallow any properties not explicitly defined in the properties section.
using swagger-express-mw, and having a following yaml:
How do I define that additional elements are not allowed. I.e. I want to prevent posting of:
In general, I'd like to be able to enforce this for some paths, but not for others.
Cheers
The text was updated successfully, but these errors were encountered: