{"id":13490470,"url":"https://github.com/fjc0k/yapi-to-typescript","last_synced_at":"2025-05-14T20:10:21.276Z","repository":{"id":44565883,"uuid":"159701516","full_name":"fjc0k/yapi-to-typescript","owner":"fjc0k","description":"根据 YApi 或 Swagger 的接口定义生成 TypeScript 或 JavaScript 的接口类型及其请求函数代码。","archived":false,"fork":false,"pushed_at":"2024-11-21T07:14:18.000Z","size":5903,"stargazers_count":461,"open_issues_count":4,"forks_count":85,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-10T12:46:30.142Z","etag":null,"topics":["interface-builder","javascript","swagger","swagger-codegen","typescript","yapi","yapi-codegen"],"latest_commit_sha":null,"homepage":"https://fjc0k.github.io/yapi-to-typescript/handbook/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fjc0k.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2018-11-29T17:13:02.000Z","updated_at":"2025-05-09T03:48:03.000Z","dependencies_parsed_at":"2023-01-23T16:16:11.772Z","dependency_job_id":"e1340b33-7441-4399-a71f-2bc45ee85702","html_url":"https://github.com/fjc0k/yapi-to-typescript","commit_stats":{"total_commits":444,"total_committers":13,"mean_commits":34.15384615384615,"dds":0.03153153153153154,"last_synced_commit":"8d11ba152c519ccde8757b7d682d3a8a9239769b"},"previous_names":[],"tags_count":167,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjc0k%2Fyapi-to-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjc0k%2Fyapi-to-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjc0k%2Fyapi-to-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjc0k%2Fyapi-to-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fjc0k","download_url":"https://codeload.github.com/fjc0k/yapi-to-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254219374,"owners_count":22034397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["interface-builder","javascript","swagger","swagger-codegen","typescript","yapi","yapi-codegen"],"created_at":"2024-07-31T19:00:47.050Z","updated_at":"2025-05-14T20:10:21.254Z","avatar_url":"https://github.com/fjc0k.png","language":"TypeScript","readme":"# YApi to TypeScript ![Test](https://github.com/fjc0k/yapi-to-typescript/workflows/Test/badge.svg) [![codecov](https://codecov.io/gh/fjc0k/yapi-to-typescript/branch/master/graph/badge.svg)](https://codecov.io/gh/fjc0k/yapi-to-typescript)\n\n`YApi to TypeScript`（简称 `ytt`） 是一个代码生成工具，其可根据 [YApi](https://github.com/YMFE/yapi) 或 [Swagger](https://swagger.io/) 的接口定义生成 TypeScript 或 JavaScript 的接口类型及其请求函数代码。\n\n## 文档\n\n- [介绍](https://fjc0k.github.io/yapi-to-typescript/handbook/)\n- [配置](https://fjc0k.github.io/yapi-to-typescript/handbook/config.html)\n- [使用](https://fjc0k.github.io/yapi-to-typescript/handbook/usage.html)\n- [统一请求函数](https://fjc0k.github.io/yapi-to-typescript/handbook/request.html)\n- [更新日志](https://fjc0k.github.io/yapi-to-typescript/handbook/changelog.html)\n- [国内镜像 🇨🇳](https://fjc0k.gitee.io/yapi-to-typescript/handbook/)\n\n## 交流群\n\n钉钉扫码加入交流群：\n\n\u003cimg src=\"https://cdn.jsdelivr.net/gh/fjc0k/yapi-to-typescript@master/assets/dd.jpg\" width=\"300\" /\u003e\n\n## 许可\n\n[MIT](https://github.com/fjc0k/yapi-to-typescript/blob/master/LICENSE) © [Jay Fong](https://github.com/fjc0k)\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffjc0k%2Fyapi-to-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffjc0k%2Fyapi-to-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffjc0k%2Fyapi-to-typescript/lists"}