The yaml example I provided is too verbose, I wrote a properties file example: https://gist.github.com/chanjarster/1b15cb781fcc91e2cd293fcc2b1682d2#file-style-check-rules-properties
Daniel Qian <chanjars...@gmail.com> 于2019年11月15日周五 下午12:59写道: > > Hi toolkit team, > I'm working on SCB-1580[1] to make OAS style check configurable. > So we need a config file which can describe the check rules. > I created a config file example on gist[2], which is based on the oas > validator style check doc[3] > Any suggestions are welcome. > > [1] https://issues.apache.org/jira/projects/SCB/issues/SCB-1580 > [2] https://gist.github.com/chanjarster/1b15cb781fcc91e2cd293fcc2b1682d2 > [3] > https://github.com/apache/servicecomb-toolkit/blob/c0baf5dff7d408d414bd40238b6849302ecc5b55/oas-validator/README.md#style-check-rules > -- > Daniel Qian > Apache Committer(chanjarster) > blog:https://chanjarster.github.io > github:https://github.com/chanjarster > segmentfault: https://segmentfault.com/u/chanjarster -- Daniel Qian Apache Committer(chanjarster) blog:https://chanjarster.github.io github:https://github.com/chanjarster segmentfault: https://segmentfault.com/u/chanjarster