mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
added vendors
This commit is contained in:
20
vendor/github.com/googleapis/gnostic/linters/README.md
generated
vendored
Normal file
20
vendor/github.com/googleapis/gnostic/linters/README.md
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
# Linters
|
||||
|
||||
This directory contains linters that can be used to check Gnostic models.
|
||||
|
||||
Linters are plugins that generate no files but instead return messages
|
||||
in their responses. Each message can include a level, an identifier, text,
|
||||
and a key path in an API description associated with that message.
|
||||
Messages are collected by gnostic and written to a common output file,
|
||||
allowing multiple linter plugins to be invoked in a single gnostic
|
||||
run.
|
||||
|
||||
The following invocation runs the `gnostic-lint-paths` and
|
||||
`gnostic-lint-descriptions` plugins and writes their messages
|
||||
to a file named `lint.pb`.
|
||||
|
||||
```
|
||||
% gnostic examples/v2.0/yaml/petstore.yaml --lint-paths --lint-descriptions --messages-out=lint.pb
|
||||
```
|
||||
|
||||
Message files can be displayed using the `report-messages` tool in the `apps` directory.
|
Reference in New Issue
Block a user