Skip to content

Commit c8bbbdc

Browse files
authored
Merge pull request #112 from guokr/valiate
modified: README.md
2 parents bd50f78 + bff9b94 commit c8bbbdc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Command Options:
3939
-t, --template-dir Path of your custom templates directory.
4040
--spec, --specification Generate online specification json response.
4141
--ui Generate swagger ui.
42+
--validate Validate swagger file.
4243
-tlp, --templates gen flask/tornado/falcon templates, default flask.
4344
--version Show current version.
4445
--help Show this message and exit.

swagger_py_codegen/command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def print_version(ctx, param, value):
106106
help='Generate swagger ui.')
107107
@click.option('--validate',
108108
default=False, is_flag=True,
109-
help='Generate swagger ui.')
109+
help='Validate swagger file.')
110110
@click.option('-tlp', '--templates',
111111
default='flask',
112112
help='gen flask/tornado/falcon/sanic templates, default flask.')

0 commit comments

Comments
 (0)