Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions endpoints/_endpointscfg_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,8 @@ def AddStandardOptions(parser, *args):
get_swagger_spec.set_defaults(callback=_GenOpenApiSpecCallback)
AddStandardOptions(get_swagger_spec, 'application', 'hostname', 'output',
'service')
get_swagger_spec.add_argument('--x-google-api-name', action='store_true',
help="Add the 'x-google-api-name' field to the generated spec")

# By removing the help attribute, the following three actions won't be
# displayed in usage message
Expand Down