This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy pathhelp-text.json
58 lines (58 loc) · 2.13 KB
/
help-text.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"default": [
"Usage:",
" swagger-cli <command> [options] <file>",
"",
"Commands:",
" validate Validates an API definition in Swagger 2.0 or OpenAPI 3.0 format",
"",
" bundle Bundles a multi-file API definition into a single file",
"",
"Options:",
" -h, --help Show help for any command",
" -v, --version Output the CLI version number",
" -d, --debug Show debug output",
""
],
"validate": [
"Validates an API definition against the Swagger 2.0 or OpenAPI 3.0 schema.",
"Returns a non-zero exit code if validation fails.",
"",
"Usage:",
" swagger-cli validate [options] <file>",
"",
"Options:",
" --no-schema Do NOT validate against the Swagger/OpenAPI JSON schema",
"",
" --no-spec Do NOT validate against the Swagger/OpenAPI specification",
"",
" -d, --debug Show debug output",
""
],
"bundle": [
"Combines a multi-file API definition into a single file.",
"",
"Optimizes for file size by default, by only embedding each referenced file once,",
"and altering other references to point to the single inlined file. Use the --dereference",
"option to replace each $ref with the file contents instead. This will result in a larger",
"output file that does not contain any $refs.",
"",
"Usage:",
" swagger-cli bundle [options] <file>",
"",
"Options:",
" -o, --outfile <file> The output file",
"",
" -r, --dereference Fully dereference all $ref pointers",
"",
" -f, --format <spaces> Formats the output using the given number of spaces",
" (the default is 2 spaces)",
"",
" -t, --type <filetype> Defines the output file type. The valid values are: json, yaml",
" (the default is JSON)",
"",
" -w, --wrap <column> Set the line length for YAML strings",
" (the default is no wrapping)",
""
]
}