I created an issue SCB-1553[1] to integrate oas-validator compliance
check to toolkit cli.
I suggest the usage like this:
java -jar toolkit-cli-{version}.jar checkstyle /path/to/openapiv3.yaml
I prefer checksytle because of it's clearer than compliance.
oas-validator compliance doc could be found here[2]
[1] https://issues.apache.org/jira/projects/SCB/issues/SCB-1553
[2]
https://github.com/apache/servicecomb-toolkit/blob/import-oas-validator/oas-validator/README.md#%E5%90%88%E8%A7%84%E6%80%A7%E6%A0%A1%E9%AA%8C
--
Daniel Qian
博客:https://segmentfault.com/u/chanjarster
github:https://github.com/chanjarster