class_docstr: A Swagger documentation wrapper for an API instance.
class_docstr_tok: ["A","Swagger","documentation","wrapper","for","an","API","instance","."]
code: def security_requirement(self, value):
      if isinstance(value, (string_types)):
          return {value: []}
      elif isinstance(value, dict):
          return dict(
              (k, v if isinstance(v, (list, tuple)) else [v])
              for k, v in iteritems(value)
          )
      else:
          return None
  
imports: from __future__ import unicode_literals, absolute_import
  import itertools
  import re
  from inspect import isclass, getdoc
  from six import string_types, itervalues, iteritems, iterkeys
  from flask import current_app
  from werkzeug.routing import parse_rule
  from .None import fields
  from .model import Model, ModelBase
  from .reqparse import RequestParser
  from .utils import merge, not_none, not_none_sorted
  from ._http import HTTPStatus
label_desc: Use image node_id 22 for calling the Swagger obj's underlying member method code with example usage: obj.security_requirement(value) and returns: dict, dict, None