Skip to content

Commit 47b8de2

Browse files
authored
Fix typos in help & README (#104)
* Fix typos * Fix Typos
1 parent 8397720 commit 47b8de2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ do awesome work:
4444
The following commands are available:
4545

4646
validate Validate the API Description in the specified input file against the OpenAPI v3.0 schema.
47-
Note: the validation is performed in two steps. The results is composed of
47+
Note: the validation is performed in two steps. The results are composed of
4848
(1) structural errors found while reading the API Description file, and
4949
(2) violations of the OpenAPI v3.0 schema.
5050

5151
If no input file is specified input will be read from STDIN.
5252
The tool will try to auto-detect the content type of the input, but may fail
53-
to do so, you may specify --read-yaml or --read-json to force the file type.
53+
to do so. You may specify --read-yaml or --read-json to force the file type.
5454

5555
Exits with code 2 on validation errors, 1 on other errors and 0 on success.
5656

@@ -59,10 +59,10 @@ do awesome work:
5959
If no input file is specified input will be read from STDIN.
6060
If no output file is specified output will be written to STDOUT.
6161
The tool will try to auto-detect the content type of the input and output file, but may fail
62-
to do so, you may specify --read-yaml or --read-json to force the input file type.
62+
to do so. You may specify --read-yaml or --read-json to force the input file type.
6363
and --write-yaml or --write-json to force the output file type.
6464

65-
By default all references are resolved (replaced with the object refered to). You can control
65+
By default all references are resolved (replaced with the object referred to). You can control
6666
handling of references with the following arguments:
6767

6868
--resolve-none Do not resolve references.

bin/php-openapi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -313,13 +313,13 @@ Usage:
313313
The following commands are available:
314314
315315
\Bvalidate\C Validate the API Description in the specified \Ginput file\C against the OpenAPI v3.0 schema.
316-
Note: the validation is performed in two steps. The results is composed of
316+
Note: the validation is performed in two steps. The results are composed of
317317
(1) structural errors found while reading the API Description file, and
318318
(2) violations of the OpenAPI v3.0 schema.
319319
320320
If no input file is specified input will be read from STDIN.
321321
The tool will try to auto-detect the content type of the input, but may fail
322-
to do so, you may specify \Y--read-yaml\C or \Y--read-json\C to force the file type.
322+
to do so. You may specify \Y--read-yaml\C or \Y--read-json\C to force the file type.
323323
324324
Exits with code 2 on validation errors, 1 on other errors and 0 on success.
325325
@@ -328,10 +328,10 @@ Usage:
328328
If no input file is specified input will be read from STDIN.
329329
If no output file is specified output will be written to STDOUT.
330330
The tool will try to auto-detect the content type of the input and output file, but may fail
331-
to do so, you may specify \Y--read-yaml\C or \Y--read-json\C to force the input file type.
331+
to do so. You may specify \Y--read-yaml\C or \Y--read-json\C to force the input file type.
332332
and \Y--write-yaml\C or \Y--write-json\C to force the output file type.
333333
334-
By default all references are resolved (replaced with the object refered to). You can control
334+
By default all references are resolved (replaced with the object referred to). You can control
335335
handling of references with the following arguments:
336336
337337
\Y--resolve-none\C Do not resolve references.

0 commit comments

Comments
 (0)