These keys can be put to use within the rule set of the fastest validator schema, under the $$oa meta parameters.
{ $$strict: true, foo: { $$oa: { in: 'body'; description: "rule description"; summary: "deprecated rule summary"; deprecated: true; }, type: "string" }, //the rest of your schema } Copy
{ $$strict: true, foo: { $$oa: { in: 'body'; description: "rule description"; summary: "deprecated rule summary"; deprecated: true; }, type: "string" }, //the rest of your schema }
Optional
These keys can be put to use within the rule set of the fastest validator schema, under the $$oa meta parameters.
Example