def register_swaggerui_app(app, swagger_uri, api_url, page_title='<STR_LIT>', favicon_url=None, config=None, uri_prefix="<STR_LIT>"):
templates_folder = '<STR_LIT>'<EOL>static_folder = '<STR_LIT>'<EOL>default_config = {<EOL>'<STR_LIT>': '<STR_LIT:null>',<EOL>'<STR_LIT>': '<STR_LIT:null>',<EOL>'<STR_LIT>': '<STR_LIT:null>',<EOL>'<STR_LIT>': '<STR_LIT:null>',<EOL>'<STR_LIT>': "<STR_LIT:none>",<EOL>'<STR_LIT>': False,<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': False,<EOL>'<STR_LIT>': ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>'],<EOL>}<EOL>if config:<EOL><INDENT>default_config.update(config)<EOL><DEDENT>default_context = {<EOL>'<STR_LIT>': page_title,<EOL>'<STR_LIT>': favicon_url,<EOL>'<STR_LIT>': uri_prefix + swagger_uri,<EOL>'<STR_LIT>': api_url,<EOL>'<STR_LIT>': default_config.pop('<STR_LIT>'),<EOL>'<STR_LIT>': default_config.pop('<STR_LIT>'),<EOL>'<STR_LIT>': default_config.pop('<STR_LIT>'),<EOL>'<STR_LIT>': default_config.pop('<STR_LIT>'),<EOL>'<STR_LIT>': json.dumps(default_config)<EOL>}<EOL>app.add_sink(<EOL>StaticSinkAdapter(static_folder),<EOL>r'<STR_LIT>' % swagger_uri,<EOL>)<EOL>app.add_route(<EOL>swagger_uri,<EOL>SwaggerUiResource(templates_folder, default_context)<EOL>)<EOL>
:type app: falcon.API