{"id":18518347,"url":"https://github.com/spec-first/swagger_ui_bundle","last_synced_at":"2026-03-17T22:04:10.117Z","repository":{"id":32674544,"uuid":"138109661","full_name":"spec-first/swagger_ui_bundle","owner":"spec-first","description":"bundled swagger-ui pip package","archived":false,"fork":false,"pushed_at":"2025-09-04T15:43:41.000Z","size":14143,"stargazers_count":21,"open_issues_count":5,"forks_count":24,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-12T02:05:50.539Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spec-first.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-06-21T02:32:29.000Z","updated_at":"2024-11-27T20:15:19.000Z","dependencies_parsed_at":"2022-08-07T18:00:32.456Z","dependency_job_id":"3566bb1a-4cd2-4ffd-be05-fcb038c0cbdd","html_url":"https://github.com/spec-first/swagger_ui_bundle","commit_stats":null,"previous_names":["dtkav/swagger-ui-bundle","spec-first/swagger_ui_bundle","dtkav/swagger_ui_bundle"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/spec-first/swagger_ui_bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spec-first%2Fswagger_ui_bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spec-first%2Fswagger_ui_bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spec-first%2Fswagger_ui_bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spec-first%2Fswagger_ui_bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spec-first","download_url":"https://codeload.github.com/spec-first/swagger_ui_bundle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spec-first%2Fswagger_ui_bundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30633240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T17:13:05.326Z","updated_at":"2026-03-17T22:04:10.098Z","avatar_url":"https://github.com/spec-first.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"swagger_ui_bundle\n=================\nThis package contains the static files for swagger-ui as a python package.\n\nBasic configuration options are templated with the Jinja2 templating language.\n\nThis package is intended to be webserver-agnostic, so it only includes the\nstatic files, and some very basic configuration.\n\nGetting Started\n===============\nYou can import the swagger_ui_path from the swagger_ui_bundle package like so:\n\n.. code-block:: python\n  \n    from swagger_ui_bundle import swagger_ui_path\n\nYou can easily serve up this directory as all static files to get the default\nswagger-ui distribution. Here's an example in flask:\n\n.. code-block:: python\n\n    from swagger_ui_bundle import swagger_ui_path\n    \n    from flask import Flask, Blueprint, send_from_directory, render_template\n    \n    swagger_bp = Blueprint(\n        'swagger_ui',\n        __name__,\n        static_url_path='',\n        static_folder=swagger_ui_path,\n        template_folder=swagger_ui_path\n    )\n    \n    app = Flask(__name__, static_url_path='')\n    app.register_blueprint(swagger_bp, url_prefix='/ui')\n    \n    if __name__ == \"__main__\":\n        app.run()\n\nYou may wish to override some of the configuration variables. Included\nis a jinaj2 templated file where you can modify these parameters.\nYou can add another route to render this template with your\ndesired configuration like so:\n\n.. code-block:: python\n\n    SWAGGER_UI_CONFIG = {\n        \"openapi_spec_url\": \"https://petstore.swagger.io/v2/swagger.json\"\n    }\n\n    @swagger_bp.route('/')\n    def swagger_ui_index():\n        return render_template('index.j2', **SWAGGER_UI_CONFIG)\n\n\nHave a look at `example.py` for a complete server for the Flask webserver.\n\n\nLicense\n=======\nSince this is just repackaging swagger-ui releases, the license comes from\nthe swagger ui project (https://github.com/swagger-api/swagger-ui).\n\nAll vendored code is published under the Apache 2.0 License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspec-first%2Fswagger_ui_bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspec-first%2Fswagger_ui_bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspec-first%2Fswagger_ui_bundle/lists"}