Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr attr Assign NameStore BinOpDiv BinOpDiv NameLoad Str Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Dict attr body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Continue Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Dict attr body Assign SubscriptStore NameLoad Index Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad keyword Dict Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore BoolOpOr NameLoad Dict With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str orelse Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Assign AttributeStore NameLoad attr BoolOpOr NameLoad NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Continue TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad Str attr keyword Call AttributeLoad NameLoad attr keyword NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Lambda arguments args defaults Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword Call NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
Copyright 2015 Zalando SE

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
 language governing permissions and limitations under the License.
 N/A copy N/A json N/A logging N/A pathlib N/A sys N/A flask N/A jinja2 N/A six N/A werkzeug.exceptions N/A yaml swagger_spec_validator.validator20 validate_spec N/A resolver utils handlers AuthErrorHandler operation Operation N/A MODULE_PATH N/A N/A N/A N/A N/A pathlib Path __file__ absolute parent N/A SWAGGER_UI_PATH N/A N/A MODULE_PATH vendor swagger-ui N/A SWAGGER_UI_URL ui N/A logger N/A N/A logging getLogger connexion.api compatibility_layer N/A N/A spec N/A N/A N/A Make specs compatible with older versions of Connexion. N/A N/A path_name methods_available N/A N/A N/A N/A spec get paths N/A items N/A N/A N/A method_name method_def N/A N/A methods_available items N/A N/A N/A method_name parameters N/A N/A N/A response_definitions N/A N/A N/A response_code response_def N/A N/A N/A N/A method_def get responses N/A items N/A N/A N/A response_definitions N/A N/A str response_code response_def N/A N/A method_def N/A responses response_definitions N/A spec N/A Api N/A object N/A N/A 
    Single API that corresponds to a flask blueprint
     __init__ N/A N/A self swagger_yaml_path base_url arguments swagger_json swagger_ui swagger_path swagger_url validate_responses resolver auth_all_paths debug N/A None None None None None None False N/A N/A resolver Resolver False False N/A N/A 
        :type swagger_yaml_path: pathlib.Path
        :type base_url: str | None
        :type arguments: dict | None
        :type swagger_json: bool
        :type swagger_ui: bool
        :type swagger_path: string | None
        :type swagger_url: string | None
        :type auth_all_paths: bool
        :type debug: bool
        :param resolver: Callable that maps operationID to a function
         N/A N/A self debug debug N/A N/A self swagger_yaml_path N/A N/A pathlib Path swagger_yaml_path N/A N/A N/A logger debug Loading specification: %s swagger_yaml_path extra N/A swagger_yaml base_url arguments swagger_ui swagger_path swagger_url auth_all_paths swagger_yaml_path base_url arguments swagger_ui swagger_path swagger_url auth_all_paths N/A arguments N/A arguments N/A N/A N/A N/A swagger_yaml_path open swagger_yaml N/A N/A swagger_template N/A N/A swagger_yaml read N/A swagger_string N/A N/A N/A N/A jinja2 Template swagger_template render arguments N/A N/A self specification N/A N/A yaml load swagger_string N/A N/A N/A logger debug Read specification extra N/A self specification N/A N/A self specification N/A compatibility_layer N/A self specification N/A spec N/A N/A copy deepcopy N/A self specification N/A N/A validate_spec spec N/A N/A base_url None N/A N/A N/A self base_url N/A N/A N/A self specification get basePath N/A N/A N/A self base_url base_url N/A N/A N/A self specification N/A basePath base_url N/A N/A self produces N/A N/A N/A self specification get produces N/A list N/A N/A self security N/A N/A N/A self specification get security N/A N/A self security_definitions N/A N/A N/A self specification get securityDefinitions N/A dict N/A N/A N/A logger debug Security Definitions: %s N/A self security_definitions N/A N/A self definitions N/A N/A N/A self specification get definitions N/A N/A N/A self parameter_definitions N/A N/A N/A self specification get parameters N/A N/A N/A self response_definitions N/A N/A N/A self specification get responses N/A N/A N/A self swagger_path N/A swagger_path SWAGGER_UI_PATH N/A N/A self swagger_url N/A swagger_url SWAGGER_UI_URL N/A N/A self resolver resolver N/A N/A N/A logger debug Validate Responses: %s N/A str validate_responses N/A N/A self validate_responses validate_responses N/A N/A self blueprint N/A N/A self create_blueprint N/A swagger_json N/A N/A N/A N/A self add_swagger_json N/A swagger_ui N/A N/A N/A N/A self add_swagger_ui N/A N/A N/A self add_paths N/A auth_all_paths N/A N/A N/A N/A self add_auth_on_not_found N/A add_operation N/A N/A self method path swagger_operation path_parameters N/A N/A N/A 
        Adds one operation to the api.

        This method uses the OperationID identify the module and function that will handle the operation

        From Swagger Specification:

        **OperationID**

        A friendly name for the operation. The id MUST be unique among all operations described in the API.
        Tools and libraries MAY use the operation id to uniquely identify an operation.

        :type method: str
        :type path: str
        :type swagger_operation: dict
         N/A operation N/A Operation method method path path path_parameters path_parameters operation swagger_operation app_produces N/A self produces app_security N/A self security security_definitions N/A self security_definitions definitions N/A self definitions parameter_definitions N/A self parameter_definitions response_definitions N/A self response_definitions validate_responses N/A self validate_responses resolver N/A self resolver N/A operation_id N/A operation operation_id N/A N/A N/A logger debug ... Adding %s -> %s N/A N/A method upper operation_id extra N/A vars operation N/A flask_path N/A N/A utils flaskify_path path N/A N/A operation get_path_parameter_types N/A N/A N/A N/A self blueprint add_url_rule flask_path N/A operation endpoint_name N/A operation function methods N/A method N/A add_paths N/A N/A self paths N/A None N/A N/A 
        Adds the paths defined in the specification as endpoints

        :type paths: list
         N/A paths N/A paths N/A N/A N/A self specification get paths N/A dict N/A N/A path methods N/A N/A paths items N/A N/A N/A N/A logger debug Adding %s%s... N/A self base_url path N/A path_parameters N/A N/A methods get parameters N/A N/A N/A method endpoint N/A N/A methods items N/A N/A N/A method parameters N/A N/A N/A N/A N/A N/A N/A self add_operation method path endpoint path_parameters N/A N/A N/A Exception N/A N/A url N/A N/A {base_url}{path} format base_url N/A self base_url path path N/A error_msg N/A N/A Failed to add operation for {method} {url} format method N/A N/A method upper url url N/A N/A self debug N/A N/A N/A N/A logger exception error_msg N/A N/A N/A N/A logger error error_msg N/A N/A N/A six reraise N/A N/A sys exc_info N/A add_auth_on_not_found N/A N/A self N/A N/A N/A 
        Adds a 404 error handler to authenticate and only expose the 404 status if the security validation pass.
         N/A N/A N/A logger debug Adding path not found authentication N/A not_found_error N/A AuthErrorHandler N/A N/A N/A werkzeug exceptions NotFound security N/A self security security_definitions N/A self security_definitions N/A endpoint_name N/A N/A {name}_not_found format name N/A N/A self blueprint name N/A N/A N/A N/A self blueprint add_url_rule /<path:invalid_path> endpoint_name N/A not_found_error function N/A add_swagger_json N/A N/A self N/A N/A N/A 
        Adds swagger json to {base_url}/swagger.json
         N/A N/A N/A logger debug Adding swagger.json: %s/swagger.json N/A self base_url N/A endpoint_name N/A N/A {name}_swagger_json format name N/A N/A self blueprint name N/A N/A N/A N/A self blueprint add_url_rule /swagger.json endpoint_name N/A N/A N/A N/A N/A N/A json dumps N/A self specification N/A add_swagger_ui N/A N/A self N/A N/A N/A 
        Adds swagger ui to {base_url}/ui/
         N/A N/A N/A logger debug Adding swagger-ui: %s/%s/ N/A self base_url N/A self swagger_url N/A static_endpoint_name N/A N/A {name}_swagger_ui_static format name N/A N/A self blueprint name N/A N/A N/A N/A self blueprint add_url_rule N/A N/A /{swagger_url}/<path:filename> format swagger_url N/A self swagger_url static_endpoint_name N/A self swagger_ui_static N/A index_endpoint_name N/A N/A {name}_swagger_ui_index format name N/A N/A self blueprint name N/A N/A N/A N/A self blueprint add_url_rule N/A N/A /{swagger_url}/ format swagger_url N/A self swagger_url index_endpoint_name N/A self swagger_ui_index N/A create_blueprint N/A N/A self base_url N/A None N/A N/A 
        :type base_url: str | None
        :rtype: flask.Blueprint
         N/A base_url N/A base_url N/A self base_url N/A N/A N/A logger debug Creating API blueprint: %s base_url N/A endpoint N/A N/A utils flaskify_endpoint base_url N/A blueprint N/A N/A flask Blueprint endpoint __name__ url_prefix base_url template_folder N/A str N/A self swagger_path N/A blueprint N/A swagger_ui_index N/A N/A self N/A N/A N/A N/A N/A flask render_template index.html api_url N/A self base_url N/A swagger_ui_static N/A N/A self filename N/A N/A N/A 
        :type filename: str
         N/A N/A N/A flask send_from_directory N/A str N/A self swagger_path filename N/A N/A