@redocly/ajv
Version:
Another JSON Schema Validator
26 lines • 759 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.contentVocabulary = exports.metadataVocabulary = void 0;
exports.metadataVocabulary = [
"title",
"description",
"default",
"deprecated",
/**
* readOnly/writeOnly are handled as validation keywords when OAS context is provided.
* Keeping them here would register them as annotation-only metadata and would
* prevent the context-aware validation behavior.
*
* @see ./validation/readOnly.ts
* @see ./validation/writeOnly.ts
*/
// "readOnly",
// "writeOnly",
"examples",
];
exports.contentVocabulary = [
"contentMediaType",
"contentEncoding",
"contentSchema",
];
//# sourceMappingURL=metadata.js.map