{"id":23969740,"url":"https://github.com/kemingy/offapi","last_synced_at":"2026-02-07T15:10:09.419Z","repository":{"id":271118769,"uuid":"912306505","full_name":"kemingy/offapi","owner":"kemingy","description":"OpenAPI template files for offline usage.","archived":false,"fork":false,"pushed_at":"2025-12-16T01:52:50.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-02T03:32:44.626Z","etag":null,"topics":["openapi","redoc","scalar","swagger","swagger-ui"],"latest_commit_sha":null,"homepage":"","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/kemingy.png","metadata":{"files":{"readme":"README.md","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":"2025-01-05T07:30:24.000Z","updated_at":"2025-12-16T01:52:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"2ba29baa-68c3-4014-8576-8224ade48a43","html_url":"https://github.com/kemingy/offapi","commit_stats":null,"previous_names":["kemingy/offapi"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kemingy/offapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kemingy%2Foffapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kemingy%2Foffapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kemingy%2Foffapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kemingy%2Foffapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kemingy","download_url":"https://codeload.github.com/kemingy/offapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kemingy%2Foffapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29197828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T14:35:27.868Z","status":"ssl_error","status_checked_at":"2026-02-07T14:25:51.081Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["openapi","redoc","scalar","swagger","swagger-ui"],"created_at":"2025-01-07T01:53:27.844Z","updated_at":"2026-02-07T15:10:09.414Z","avatar_url":"https://github.com/kemingy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OffAPI\n\n[![PyPI](https://img.shields.io/pypi/v/offapi.svg)](https://pypi.org/project/offapi/)\n\nOpenAPI template files for offline usage.\n\nThis package will download the related files during the build time, and package them into the final distribution.\n\n## Supports\n\n- Swagger\n- Redoc\n- Scalar\n\n## Installation\n\n```bash\npip install offapi\n```\n\n## Usage\n\n```python\nfrom offapi import OpenAPITemplate\n\nswagger_template = OpenAPITemplate.SWAGGER.value\nswagger_template.format(spec_url=\"your_path_to_the_spec.json\")\n```\n\n## Used by\n\n- [spectree](https://github.com/0b01001001/spectree): API spec validator and OpenAPI document generator for Python web frameworks.\n- [defspec](https://github.com/kemingy/defspec/): Create the OpenAPI spec and document from dataclass, attrs, etc.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkemingy%2Foffapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkemingy%2Foffapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkemingy%2Foffapi/lists"}