parent
a2001afb1f
commit
d5fb8cafd4
1 changed files with 3 additions and 1 deletions
|
@ -125,9 +125,11 @@ def swagger_route_data(include_internal=False, compact=False):
|
|||
continue
|
||||
|
||||
operation_swagger = {
|
||||
'operationId': method_metadata(method, 'nickname') or 'unnamed',
|
||||
'operationId': method_metadata(method, 'nickname'),
|
||||
'parameters': [],
|
||||
}
|
||||
if operation_swagger['operationId'] is None:
|
||||
continue
|
||||
|
||||
if not compact:
|
||||
operation_swagger.update({
|
||||
|
|
Reference in a new issue