{"id":16223166,"url":"https://github.com/guocaoyi/qapi","last_synced_at":"2025-04-08T01:44:13.431Z","repository":{"id":43714706,"uuid":"459071618","full_name":"guocaoyi/qapi","owner":"guocaoyi","description":"QApi is a TypeScript definitions generator, 📃 based on OpenAPI(Swagger)!","archived":false,"fork":false,"pushed_at":"2022-09-14T11:06:38.000Z","size":84,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-14T01:47:58.580Z","etag":null,"topics":["api","api-client","openapi","swagger-api","typescript-definitions","yapi-plugin"],"latest_commit_sha":null,"homepage":"https://qapi.js.org","language":"TypeScript","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/guocaoyi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-14T08:15:05.000Z","updated_at":"2023-06-18T20:50:35.000Z","dependencies_parsed_at":"2023-01-18T07:15:24.256Z","dependency_job_id":null,"html_url":"https://github.com/guocaoyi/qapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guocaoyi%2Fqapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guocaoyi%2Fqapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guocaoyi%2Fqapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guocaoyi%2Fqapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guocaoyi","download_url":"https://codeload.github.com/guocaoyi/qapi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247761032,"owners_count":20991533,"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":["api","api-client","openapi","swagger-api","typescript-definitions","yapi-plugin"],"created_at":"2024-10-10T12:17:43.000Z","updated_at":"2025-04-08T01:44:13.398Z","avatar_url":"https://github.com/guocaoyi.png","language":"TypeScript","readme":"# QAPI\n\nQAPI 通过解析 BFF 项目接口编译生成的的 Swagger.json ，直接生成业务 API（方法名、Http Method、URL、Params、Query、Body）；\n\n## Features\n\n```bash\n.\n├── README.md\n├── packages\n│   ├── create-qapi #\n│   ├── qapi-core # core 核心代码\n│   ├── qapi-playground # qapi 在线转换器\n│   └── yapi-plugin-typegen # yapi 插件\n├── CONTRIBUTING.md # for contribution\n└── tsconfig.json\n```\n\n## QAPI Core\n\n## QAPI CLI\n\n```bash\nGenerate API from Swagger OpenAPI specs\n\n  Usage\n    $ qapi [input] [options]\n\n  Options\n    --help                help inofs\n\n    --parse\n    --publish\n    --push\n\n    --npmServer           npm register\n    --npmScope            npm Scope e.g. @xxx/pack\n    --npmUser             npm user\n    --npmPassword         npm password\n\n    --docPublish\n    --docisGroupExist\n```\n\n- json | yaml -\u003e api source\n- api source -\u003e npm package\n\n## QAPI Server\n\n```bash\nnpm start\nnpm stop\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguocaoyi%2Fqapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguocaoyi%2Fqapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguocaoyi%2Fqapi/lists"}