Module ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias ImportFrom alias alias alias Import alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore Num Assign NameStore Dict NameLoad TupleLoad Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr IfExp NameLoad NameLoad Call NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Dict Str Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Str body With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpAnd CompareEq NameLoad NameLoad NameLoad body With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore IfExp Call NameLoad SubscriptLoad NameLoad Index Str Str AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad If UnaryOpNot SubscriptLoad NameLoad Index Str body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return TupleLoad SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword ListLoad NameLoad Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword ListLoad Call NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword ListLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword ListLoad Call NameLoad keyword ListLoad NameLoad If CompareNotIn NameLoad AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Dict NameLoad NameLoad orelse If UnaryOpNot Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Dict NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword ListLoad Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr ListLoad Str Str BinOpAdd Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str If UnaryOpNot NameLoad body Return ListLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword ListLoad NameLoad keyword AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad If CompareNotIn AttributeLoad NameLoad attr ListLoad Str Str body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If BoolOpAnd NameLoad Call NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd Call NameLoad AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr body If CompareGt Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse Assign AttributeStore NameLoad attr ListLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad Call NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad Call NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd Call NameLoad AttributeLoad NameLoad attr Str CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Dict Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If BoolOpAnd CompareGt Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Num NameLoad body Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list NameLoad Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad If BoolOpOr CompareEq NameLoad NameLoad CompareEq Call NameLoad NameLoad Num body Raise Call NameLoad Str Assign NameStore NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Slice Num orelse If Call NameLoad NameLoad NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Call NameLoad NameLoad Slice Num Break orelse Raise Call NameLoad Call AttributeLoad Str attr Call NameLoad Call NameLoad NameLoad If CompareEq NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If UnaryOpNot Call AttributeLoad NameLoad attr Str body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Slice Num If CompareEq NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad If Call NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults SubscriptLoad NameLoad Index NameLoad body Expr Str If SubscriptLoad NameLoad Index Num body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr IfExp UnaryOpNot Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index Num NameLoad NameLoad keyword SubscriptLoad NameLoad Index Num orelse Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad NameLoad If CompareEq NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore NameLoad Assign NameStore NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore BinOpAdd Str Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad attr Str Assign NameStore Str orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore AttributeLoad NameLoad attr Assign NameStore CompareEq Call NameLoad NameLoad Str Str orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Str orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict NameLoad TupleLoad NameLoad Dict NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad For NameStore AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If UnaryOpNot CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Continue Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign TupleStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If NameLoad body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad orelse Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad BinOpBitAnd AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr keyword NameLoad If CompareEq Call NameLoad NameLoad Num body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list decorator_list
N/A __future__ absolute_import getter UrlGetter LocalGetter resolve SwaggerResolver primitives SwaggerPrimitive MimeCodec spec.v1_2.parser ResourceListContext spec.v2_0.parser SwaggerContext spec.v2_0.objects Operation spec.base BaseObj scan Scanner scanner TypeReduce CycleDetector scanner.v1_2 Upgrade scanner.v2_0 AssignParent Merge Resolve PatchObject YamlFixer Aggregate NormalizeRef pyswagger utils errs consts N/A base64 N/A six N/A weakref N/A logging N/A logger N/A N/A logging getLogger __name__ SwaggerApp N/A object N/A N/A  Major component of pyswagger

    This object is tended to be used in read-only manner. Therefore,
    all accessible attributes are almost read-only properties.
     N/A sc_path 1 N/A _shortcut_ N/A sc_path N/A / #/paths __init__ N/A N/A self url url_load_hook sep prim mime_codec N/A None None N/A N/A consts private SCOPE_SEPARATOR None None N/A N/A  constructor

        :param url str: url of swagger.json
        :param func url_load_hook: a way to redirect url to a accessible place. for self testing.
        :param sep str: separator used by pyswager.utils.ScopeDict
        :param prim pyswagger.primitives.SwaggerPrimitive: factory for primitives in Swagger.
         N/A N/A N/A logger info N/A N/A init with url: {0} format url N/A N/A self __root None N/A N/A self __raw None N/A N/A self __version N/A N/A self __op None N/A N/A self __m None N/A N/A self __schemes N/A N/A N/A self __url url N/A N/A self __objs N/A N/A N/A self __resolver N/A SwaggerResolver url_load_hook N/A N/A self __strong_refs N/A N/A N/A self __sep sep N/A N/A self __prim N/A prim prim N/A SwaggerPrimitive N/A N/A self __mime_codec N/A mime_codec N/A MimeCodec N/A root N/A N/A self N/A N/A N/A  schema representation of Swagger API, its structure may
        be different from different version of Swagger.

        There is 'Schema' object in swagger 2.0, that's why I change this
        property name from 'schema' to 'root'.

        :type: pyswagger.spec.v2_0.objects.Swagger
         N/A N/A self __root N/A property raw N/A N/A self N/A N/A N/A  raw objects for original version of loaded resources.
        When loaded json is the latest version we supported, this property is the same as SwaggerApp.root

        :type: ex. when loading Swagger 1.2, the type is pyswagger.spec.v1_2.objects.ResourceList
         N/A N/A self __raw N/A property op N/A N/A self N/A N/A N/A  list of Operations, organized by utils.ScopeDict

        In Swagger 2.0, Operation(s) can be organized with Tags and Operation.operationId.
        ex. if there is an operation with tag:['user', 'security'] and operationId:get_one,
        here is the combination of keys to access it:
        - .op['user', 'get_one']
        - .op['security', 'get_one']
        - .op['get_one']

        :type: pyswagger.utils.ScopeDict of pyswagger.spec.v2_0.objects.Operation
         N/A N/A self __op N/A property m N/A N/A self N/A N/A N/A  backward compatible to access Swagger.definitions in Swagger 2.0,
        and Resource.Model in Swagger 1.2.

        ex. a Model:user in Resource:Users, access it by .m['Users', 'user'].
        For Schema object in Swagger 2.0, just access it by it key in json.

        :type: pyswagger.utils.ScopeDict
         N/A N/A self __m N/A property version N/A N/A self N/A N/A N/A  original version of loaded json

        :type: str
         N/A N/A self __version N/A property schemes N/A N/A self N/A N/A N/A  supported schemes, refer to Swagger.schemes in Swagger 2.0 for details

        :type: list of str, ex. ['http', 'https']
         N/A N/A self __schemes N/A property url N/A N/A self N/A N/A N/A N/A N/A self __url N/A property prim_factory N/A N/A self N/A N/A N/A  primitive factory used by this app

        :type: pyswagger.primitives.SwaggerPrimitive
         N/A N/A self __prim N/A property mime_codec N/A N/A self N/A N/A N/A  mime codec used by this app

        :type: pyswagger.primitives.MimeCodec
         N/A N/A self __mime_codec N/A property load_obj N/A N/A self jref getter parser N/A None None N/A N/A  load a object(those in spec._version_.objects) from a JSON reference.
         N/A obj N/A N/A N/A self __resolver resolve jref getter N/A tmp N/A _tmp_ N/A N/A version N/A N/A utils get_swagger_version obj N/A N/A version 1.2 N/A N/A N/A ResourceListContext tmp _tmp_ ctx N/A N/A N/A N/A ctx parse obj jref N/A self __resolver getter N/A N/A N/A version 2.0 N/A N/A N/A SwaggerContext tmp _tmp_ ctx N/A N/A N/A N/A ctx parse obj N/A N/A N/A N/A version None parser N/A N/A N/A parser tmp _tmp_ ctx N/A N/A N/A N/A ctx parse obj N/A version N/A N/A hasattr N/A tmp N/A _tmp_ __swagger_version__ N/A N/A tmp N/A _tmp_ __swagger_version__ version N/A N/A N/A NotImplementedError N/A N/A Unsupported Swagger Version: {0} from {1} format version jref N/A N/A N/A tmp N/A _tmp_ N/A N/A N/A Exception N/A N/A Unable to parse object from {0} format jref N/A N/A N/A logger info N/A N/A version: {0} format version N/A N/A N/A tmp N/A _tmp_ version N/A prepare_obj N/A N/A self obj jref N/A N/A N/A  basic preparation of an object(those in sepc._version_.objects),
        and cache the 'prepared' object.
         N/A N/A obj N/A N/A N/A Exception N/A N/A unexpected, passing {0}:{1} to prepare format obj jref N/A s N/A Scanner self N/A N/A N/A self version 1.2 N/A N/A converter N/A Upgrade N/A self __sep N/A N/A N/A s scan root obj route N/A converter N/A obj N/A converter swagger N/A N/A obj N/A N/A N/A Exception N/A N/A unable to upgrade from 1.2: {0} format jref N/A N/A N/A s scan root obj route N/A N/A AssignParent N/A N/A url jp N/A N/A utils jr_split jref N/A N/A N/A s scan root obj route N/A N/A NormalizeRef url N/A N/A N/A s scan root obj route N/A N/A YamlFixer leaves N/A Operation N/A N/A url N/A self __objs N/A N/A N/A jp # N/A N/A N/A N/A self __objs N/A url obj N/A N/A N/A N/A self __objs N/A url N/A jp obj N/A N/A N/A N/A isinstance N/A N/A self __objs N/A url dict N/A N/A N/A Exception it should be able to resolve with BaseObj N/A N/A N/A N/A N/A self __objs N/A url update N/A jp obj N/A N/A N/A s scan root obj route N/A N/A Resolve N/A obj N/A _validate N/A N/A self N/A N/A N/A  check if this Swagger API valid or not.

        :param bool strict: when in strict mode, exception would be raised if not valid.
        :return: validation errors
        :rtype: list of tuple(where, type, msg).
         N/A v_mod N/A N/A utils import_string N/A N/A . join N/A pyswagger scanner N/A v N/A N/A N/A self version replace . _ validate N/A N/A v_mod N/A N/A N/A N/A s N/A Scanner self N/A v N/A N/A v_mod Validate N/A N/A N/A s scan route N/A v root N/A self __raw N/A N/A v errs N/A load N/A N/A kls url getter parser url_load_hook sep prim mime_codec N/A None None None N/A N/A consts private SCOPE_SEPARATOR None None N/A N/A  load json as a raw SwaggerApp

        :param str url: url of path of Swagger API definition
        :param getter: customized Getter
        :type getter: sub class/instance of Getter
        :param parser: the parser to parse the loaded json.
        :type parser: pyswagger.base.Context
        :param dict app_cache: the cache shared by related SwaggerApp
        :param func url_load_hook: hook to patch the url to load json
        :param str sep: scope-separater used in this SwaggerApp
        :param prim pyswager.primitives.SwaggerPrimitive: factory for primitives in Swagger
        :param mime_codec pyswagger.primitives.MimeCodec: MIME codec
        :return: the created SwaggerApp object
        :rtype: SwaggerApp
        :raises ValueError: if url is wrong
        :raises NotImplementedError: the swagger version is not supported.
         N/A N/A N/A logger info N/A N/A load with [{0}] format url N/A url N/A N/A utils normalize_url url N/A app N/A kls url url_load_hook url_load_hook sep sep prim prim mime_codec mime_codec N/A N/A N/A app __raw N/A app __version N/A N/A app load_obj url getter getter parser parser N/A N/A N/A app __version N/A 1.2 2.0 N/A N/A N/A NotImplementedError N/A N/A Unsupported Version: {0} format N/A self __version N/A p N/A N/A N/A N/A N/A six moves urllib parse urlparse url N/A N/A p scheme N/A N/A N/A N/A N/A app schemes append N/A p scheme N/A app N/A classmethod validate N/A N/A self strict N/A True N/A N/A  check if this Swagger API valid or not.

        :param bool strict: when in strict mode, exception would be raised if not valid.
        :return: validation errors
        :rtype: list of tuple(where, type, msg).
         N/A result N/A N/A self _validate N/A N/A strict N/A len result N/A N/A N/A N/A errs ValidationError N/A N/A this Swagger App contains error: {0}. format N/A len result N/A result N/A prepare N/A N/A self strict N/A True N/A N/A  preparation for loaded json

        :param bool strict: when in strict mode, exception would be raised if not valid.
         N/A N/A N/A self validate strict strict N/A N/A self __root N/A N/A self prepare_obj N/A self raw N/A self __url N/A N/A N/A hasattr N/A self __root schemes N/A N/A self __root schemes N/A N/A N/A N/A len N/A N/A self __root schemes 0 N/A N/A N/A self __schemes N/A N/A self __root schemes N/A N/A N/A self __schemes N/A N/A N/A N/A N/A six moves urlparse N/A self __url schemes N/A s N/A Scanner self N/A N/A N/A s scan root N/A self __root route N/A N/A Merge N/A N/A N/A s scan root N/A self __root route N/A N/A PatchObject N/A N/A N/A s scan root N/A self __root route N/A N/A Aggregate N/A tr N/A TypeReduce N/A self __sep N/A cy N/A CycleDetector N/A N/A N/A s scan root N/A self __root route N/A tr cy N/A N/A self __op N/A N/A utils ScopeDict N/A tr op N/A N/A N/A hasattr N/A self __root definitions N/A N/A N/A self __root definitions None N/A N/A N/A self __m N/A N/A utils ScopeDict N/A N/A self __root definitions N/A N/A N/A self __m N/A N/A utils ScopeDict N/A N/A N/A N/A self __m sep N/A self __sep N/A N/A N/A self __op sep N/A self __sep N/A N/A N/A N/A len N/A N/A cy cycles N/A schema 0 strict N/A N/A N/A N/A errs CycleDetectionError N/A N/A Cycles detected in Schema Object: {0} format N/A N/A cy cycles N/A schema N/A create N/A N/A kls url strict N/A True N/A N/A  factory of SwaggerApp

        :param str url: url of path of Swagger API definition
        :param bool strict: when in strict mode, exception would be raised if not valid.
        :return: the created SwaggerApp object
        :rtype: SwaggerApp
        :raises ValueError: if url is wrong
        :raises NotImplementedError: the swagger version is not supported.
         N/A app N/A N/A kls load url N/A N/A N/A app prepare strict strict N/A app N/A classmethod N/A  for backward compatible, for later version,
    please call SwaggerApp.create instead.
     N/A _create_ create resolve N/A N/A self jref parser N/A None N/A N/A  JSON reference resolver

        :param str jref: a JSON Reference, refer to http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03 for details.
        :param parser: the parser corresponding to target object.
        :type parser: pyswagger.base.Context
        :return: the referenced object, wrapped by weakref.ProxyType
        :rtype: weakref.ProxyType
        :raises ValueError: if path is not valid
         N/A N/A N/A logger info N/A N/A resolving: [{0}] format jref N/A N/A N/A jref None N/A N/A len jref 0 N/A N/A N/A ValueError Empty Path is not allowed N/A obj None N/A N/A url jp N/A N/A utils jr_split jref N/A url N/A N/A o N/A N/A N/A self __objs get url None N/A o N/A N/A N/A isinstance o BaseObj N/A N/A obj N/A N/A o resolve N/A N/A N/A utils jp_split jp N/A 1 N/A N/A N/A isinstance o dict N/A N/A N/A k v N/A N/A six iteritems o N/A N/A N/A N/A jp startswith k N/A N/A obj N/A N/A v resolve N/A N/A N/A utils jp_split N/A jp N/A N/A len k N/A 1 N/A N/A N/A N/A Exception N/A N/A Unknown Cached Object: {0} format N/A str N/A type o N/A N/A obj None N/A N/A N/A obj _ N/A N/A self load_obj jref parser parser N/A obj N/A N/A obj N/A N/A self prepare_obj obj jref N/A N/A N/A N/A N/A jp startswith # N/A N/A N/A ValueError N/A N/A Invalid Path, root element should be '#', but [{0}] format jref N/A obj N/A N/A N/A self root resolve N/A N/A N/A utils jp_split jp N/A 1 N/A N/A obj None N/A N/A N/A ValueError N/A N/A Unable to resolve path, [{0}] format jref N/A N/A isinstance obj N/A N/A six string_types N/A six integer_types list dict N/A N/A obj N/A N/A N/A weakref proxy obj N/A s N/A N/A self p b N/A N/A _shortcut_ N/A sc_path N/A N/A  shortcut of SwaggerApp.resolve.
        We provide a default base for '#/paths'. ex. to access '#/paths/~1user/get',
        just call SwaggerApp.s('user/get')

        :param str p: path relative to base
        :param tuple b: a tuple (expected_prefix, base) to represent a 'base'
         N/A N/A b N/A 0 N/A N/A N/A N/A self resolve N/A N/A utils jp_compose N/A N/A N/A N/A p startswith N/A b N/A 0 N/A N/A b N/A 0 p p base N/A b N/A 1 N/A N/A N/A N/A self resolve N/A N/A utils jp_compose p base N/A b N/A 1 N/A dump N/A N/A self N/A N/A N/A  dump into Swagger Document

        :rtype: dict
        :return: dict representation of Swagger
         N/A N/A N/A N/A self root dump N/A N/A SwaggerSecurity N/A object N/A N/A  security handler
     __init__ N/A N/A self app N/A N/A N/A  constructor

        :param SwaggerApp app: SwaggerApp
         N/A N/A self __app app N/A N/A self __info N/A N/A update_with N/A N/A self name security_info N/A N/A N/A  insert/clear authorizations

        :param str name: name of the security info to be updated
        :param security_info: the real security data, token, ...etc.
        :type security_info: **(username, password)** for *basicAuth*, **token** in str for *oauth2*, *apiKey*.

        :raises ValueError: unsupported types of authorizations
         N/A s N/A N/A N/A N/A N/A self __app root securityDefinitions get name None N/A N/A s None N/A N/A N/A ValueError N/A N/A Unknown security name: [{0}] format name N/A cred security_info N/A header True N/A N/A N/A s type basic N/A N/A cred N/A Basic  N/A N/A N/A N/A base64 standard_b64encode N/A N/A six b N/A N/A {0}:{1} format security_info decode utf-8 N/A key Authorization N/A N/A N/A N/A s type apiKey N/A N/A key N/A s name N/A header N/A N/A getattr s in header N/A N/A N/A N/A s type oauth2 N/A N/A key access_token N/A N/A N/A ValueError N/A N/A Unsupported Authorization type: [{0}, {1}] format name N/A s type N/A N/A N/A N/A self __info update N/A name N/A header N/A key cred N/A __call__ N/A N/A self req N/A N/A N/A  apply security info for a request.

        :param SwaggerRequest req: the request to be authorized.
        :return: the updated request
        :rtype: SwaggerRequest
         N/A N/A N/A req _security N/A N/A req N/A s N/A req _security N/A N/A N/A k v N/A N/A six iteritems s N/A N/A N/A N/A k N/A self __info N/A N/A N/A N/A logger info N/A N/A missing: [{0}] format k N/A N/A N/A N/A logger info N/A N/A applying: [{0}] format k N/A N/A header cred N/A N/A self __info N/A k N/A header N/A N/A N/A N/A N/A N/A req _p N/A header update cred N/A N/A N/A N/A utils nv_tuple_list_replace N/A N/A req _p N/A query N/A N/A utils get_dict_as_tuple cred N/A req N/A N/A BaseClient N/A object N/A N/A  base implementation of SwaggerClient, below is an minimum example
    to extend this class

    .. code-block:: python

        class MyClient(BaseClient):

            # declare supported schemes here
            __schemes__ = ['http', 'https']

            def request(self, req_and_resp, opt):
                # passing to parent for default patching behavior,
                # applying authorizations, ...etc.
                req, resp = super(MyClient, self).request(req_and_resp, opt)

                # perform request by req
                ...
                # apply result to resp
                resp.apply(header=header, raw=data_received, status=code)
                return resp
     N/A __schemes__ N/A set __init__ N/A N/A self security N/A None N/A N/A  constructor

        :param SwaggerSecurity security: the security holder
         N/A N/A self __security security N/A prepare_schemes N/A N/A self req N/A N/A N/A  make sure this client support schemes required by current request

        :param pyswagger.io.SwaggerRequest req: current request object
         N/A ret N/A sorted N/A N/A self __schemes__ N/A set N/A req schemes reverse True N/A N/A N/A len ret 0 N/A N/A N/A ValueError N/A N/A No schemes available: {0} format N/A req schemes N/A ret N/A request N/A N/A self req_and_resp opt N/A N/A N/A  preprocess before performing a request, usually some patching.
        authorization also applied here.

        :param req_and_resp: tuple of SwaggerRequest and SwaggerResponse
        :type req_and_resp: (SwaggerRequest, SwaggerResponse)
        :return: patched request and response
        :rtype: SwaggerRequest, SwaggerResponse
         N/A N/A req resp req_and_resp N/A N/A N/A logger info N/A N/A request.url: {0} format N/A req url N/A N/A N/A logger info N/A N/A request.header: {0} format N/A req header N/A N/A N/A logger info N/A N/A request.query: {0} format N/A req query N/A N/A N/A logger info N/A N/A request.file: {0} format N/A req files N/A N/A N/A logger info N/A N/A request.schemes: {0} format N/A req schemes N/A N/A self __security N/A N/A N/A N/A self __security req N/A N/A req resp N/A N/A