mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
6943ad129e
- add custom rule to manipulate example objects - amend validation script to use config file
13 lines
266 B
JavaScript
13 lines
266 B
JavaScript
import SkipAbbreviatedExamples from './rules/skip-abbreviated-examples.js'
|
|
|
|
export default function CustomRulesPlugin() {
|
|
return {
|
|
id: 'custom-rules',
|
|
rules: {
|
|
oas3: {
|
|
'skip-abbreviated-examples': SkipAbbreviatedExamples,
|
|
}
|
|
}
|
|
}
|
|
}
|