code: def ui_for(api):
      """Render a SwaggerUI for a given API"""
      return render_template(
          "swagger-ui.html", title=api.title, specs_url=api.specs_url
      )
  
file_path: flask-restplus/flask_restplus/apidoc.py
imports: from __future__ import unicode_literals
  from flask import url_for, Blueprint, render_template
label_desc: Use image node_id 2 for calling a global function with example usage: ui_for(api) and returns: render_template