A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://openapi-spec-validator.readthedocs.io/en/latest/cli.html below:

CLI (Command Line Interface) - openapi-spec-validator

CLI (Command Line Interface)ΒΆ

Executable Docker Python interpreter

Straight forward way:

openapi-spec-validator openapi.yaml

pipes way:

cat openapi.yaml | openapi-spec-validator -
docker run -v path/to/openapi.yaml:/openapi.yaml --rm pythonopenapi/openapi-spec-validator /openapi.yaml
python -m openapi_spec_validator openapi.yaml
usage: openapi-spec-validator [-h] [--errors {best-match,all}]
                              [--schema {2.0,3.0.0,3.1.0,detect}]
                              filename

positional arguments:
  filename              Absolute or relative path to file

options:
  -h, --help            show this help message and exit
  --errors {best-match,all}
                        Control error reporting. Defaults to "best-
                        match", use "all" to get all subschema
                        errors.
  --schema {2.0,3.0.0,3.1.0,detect}
                        OpenAPI schema (default: detect)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4