Skip to content

Commit b974862

Browse files
committed
CLI command README fix
1 parent 9e60855 commit b974862

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,22 @@ OpenAPI Spec Validator is a Python library that validates OpenAPI Specs against
1717

1818
## Usage
1919

20-
Command Line Interface:
20+
### Command Line Interface
21+
22+
Straight forward way:
23+
24+
```bash
25+
$ openapi-spec-validator some.yaml
26+
```
27+
28+
or more pythonic way:
2129

2230
```bash
23-
$ openapi_spec_validator some.yaml
31+
$ python -m openapi_spec_validator some.yaml
2432
```
2533

34+
### Examples
35+
2636
Validate spec:
2737

2838
```python

0 commit comments

Comments
 (0)