{"id":19384836,"url":"https://github.com/xiaokyo/yapi-to-typescript","last_synced_at":"2025-10-24T03:37:07.599Z","repository":{"id":180075082,"uuid":"656049838","full_name":"xiaokyo/yapi-to-typescript","owner":"xiaokyo","description":"yapi document transform typescript with raycast extension","archived":false,"fork":false,"pushed_at":"2024-10-23T06:55:39.000Z","size":2876,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-07T07:23:12.040Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xiaokyo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2023-06-20T06:57:04.000Z","updated_at":"2024-10-23T06:55:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"e26a4d85-53e2-45af-a4ab-75b10cfc38e9","html_url":"https://github.com/xiaokyo/yapi-to-typescript","commit_stats":null,"previous_names":["xiaokyo/yapi-to-typescript"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaokyo%2Fyapi-to-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaokyo%2Fyapi-to-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaokyo%2Fyapi-to-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaokyo%2Fyapi-to-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaokyo","download_url":"https://codeload.github.com/xiaokyo/yapi-to-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240523037,"owners_count":19815017,"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":[],"created_at":"2024-11-10T09:32:37.865Z","updated_at":"2025-10-24T03:37:07.595Z","avatar_url":"https://github.com/xiaokyo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YAPI\n\nyApi's document transform to typescript interfaces\n\n## Quickly Start\n\n- configration yApi host and cookie\n- Got a yApi's document id\n- typing in raycast's yApi to typescript tool\n\n## example\n\ncreate a `yapi-to-type.md` file in generater folder\n\n```\nAPI_PREFIX: /product-api\n\u003c!-- 新增接口 --\u003e\nhttp://192.168.5.222/project/158/interface/api/220372 \nhttp://192.168.5.222/project/462/interface/api/220390 \nhttp://192.168.5.222/project/158/interface/api/220504\n\nAPI_PREFIX: /quick-search-product-center\nhttp://192.168.5.222/project/462/interface/api/220396 \n\u003c!-- 原有接口 --\u003e\n\u003c!-- http://192.168.5.222/project/462/interface/api/32103 --\u003e\nhttp://192.168.5.222/project/462/interface/api/131538\nhttp://192.168.5.222/project/462/interface/api/44584 \nhttp://192.168.5.222/project/462/interface/api/32131 \n```\n\nrun the command ```genTypescriptInterfaceFilesByIds```\n\nthen you will get the `types` and `services` folder in the `generater` folder","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaokyo%2Fyapi-to-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaokyo%2Fyapi-to-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaokyo%2Fyapi-to-typescript/lists"}