{"id":13459098,"url":"https://github.com/aliyun/darabonba","last_synced_at":"2025-05-14T06:12:00.024Z","repository":{"id":37306969,"uuid":"269553240","full_name":"aliyun/darabonba","owner":"aliyun","description":"Darabonba 是一种用于 OpenAPI 的 DSL 语言，可以用来生成多语言的 SDK、Code Sample、Test Case 等代码","archived":false,"fork":false,"pushed_at":"2025-04-01T12:46:38.000Z","size":1908,"stargazers_count":1076,"open_issues_count":19,"forks_count":95,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-11T00:48:30.238Z","etag":null,"topics":["aliyun","darabonba","dsl","geteway"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aliyun.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}},"created_at":"2020-06-05T06:54:46.000Z","updated_at":"2025-04-09T12:05:24.000Z","dependencies_parsed_at":"2024-01-13T17:58:25.167Z","dependency_job_id":"f968c1c9-012f-4308-ae53-32de194aa9c4","html_url":"https://github.com/aliyun/darabonba","commit_stats":{"total_commits":183,"total_committers":12,"mean_commits":15.25,"dds":"0.31693989071038253","last_synced_commit":"15fb6ff2a80f456491cc3eb206951530789102b8"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliyun%2Fdarabonba","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliyun%2Fdarabonba/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliyun%2Fdarabonba/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliyun%2Fdarabonba/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aliyun","download_url":"https://codeload.github.com/aliyun/darabonba/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254080079,"owners_count":22011316,"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":["aliyun","darabonba","dsl","geteway"],"created_at":"2024-07-31T09:01:03.893Z","updated_at":"2025-05-14T06:11:59.964Z","avatar_url":"https://github.com/aliyun.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","others"],"sub_categories":[],"readme":"![Darabonba Logo](./fixtures/dara_logo.svg)\n\n# Darabonba\n\n[![NPM version][npm-image]][npm-url]\n[![Node.js CI](https://github.com/aliyun/darabonba/actions/workflows/node.js.yml/badge.svg)](https://github.com/aliyun/darabonba/actions/workflows/node.js.yml)\n[![codecov][cov-image]][cov-url]\n[![npm download][download-image]][download-url]\n\n\n[npm-image]: https://img.shields.io/npm/v/@darabonba/parser.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/@darabonba/parser\n[cov-image]: https://codecov.io/gh/aliyun/darabonba/branch/master/graph/badge.svg\n[cov-url]: https://codecov.io/gh/aliyun/darabonba\n[download-image]: https://img.shields.io/npm/dm/@darabonba/parser.svg?style=flat-square\n[download-url]: https://npmjs.org/package/@darabonba/parser\n\n一种 OpenAPI 应用的领域特定语言。可以利用它为任意风格的接口生成多语言的 SDK、代码示例、测试用例、接口编排等。\n\n## 概念\n\n![Darabonba 概念图](./fixtures/concept.svg)\n\n## 组件\n\n- 解析器（当前模块）\n- 生成器（陆续开源中）\n  - [Java](https://github.com/aliyun/darabonba-java-generator)\n  - [C#](https://github.com/aliyun/darabonba-csharp-generator)\n  - [TypeScript](https://github.com/aliyun/darabonba-typescript-generator)\n  - [PHP](https://github.com/aliyun/darabonba-php-generator)\n  - [Golang](https://github.com/aliyun/darabonba-go-generator)\n  - [Python](https://github.com/aliyun/darabonba-python-generator)\n  - [C++](https://github.com/aliyun/darabonba-cpp-generator)\n  - [Swift](https://github.com/aliyun/swift-generator)\n  - Dart\n  - Ruby\n  - Lua\n  - Kotlin\n- [VS Code 插件](https://github.com/aliyun/darabonba-vscode)：提供语法高亮、代码提示、代码格式化、语法检查\n- [CLI](https://github.com/aliyun/darabonba-cli)：命令行工具\n- [Darabonba模块仓库](https://darabonba.api.aliyun.com/module)：模块仓库，提供 Darabonba 模块的发布和下载\n\n## 文档\n\n- [5 分钟上手 Darabonba](./doc/getting_started.md)\n- 类型\n  - [基本类型](./doc/types/basic_types.md)\n  - [复合类型](./doc/types/complex_types.md)\n  - [自定义类型 `Model`](./doc/types/model.md)\n- [Function](./doc/function.md)\n- [API](./doc/api.md)\n- [模块系统](./doc/module.md)\n- [控制语句](./doc/statements.md)\n- [Darafile 详解](./doc/darafile.md)\n- [基于 Darabonba 编写工具模块](./doc/demo_util.md)\n- [基于 Darabonba 编写 SDK](./doc/demo_sdk.md)\n- 基于 Darabonba 编写 CodeSample\n- 语言规范\n\n## 安装\n\n```sh\n$ npm install @darabonba/cli -g\n```\n\n该命令执行后会具有一个 `dara` 命令，关于 `dara` 命令的详情可参考 [CLI](https://github.com/aliyun/darabonba-cli)。\n\n## 钉钉群（群号：34664551）\n\n![Darabonba钉钉群](./fixtures/qrcode.svg)\n\n## 案例\n\n- [阿里云多语言 SDK](https://github.com/aliyun/alibabacloud-sdk)\n- [支付宝开放平台多语言 SDK](https://github.com/alipay/alipay-easysdk)\n\n## 许可证\n\n[Apache-2.0](/LICENSE)\n\nCopyright (c) 2009-present, Alibaba Cloud All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliyun%2Fdarabonba","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faliyun%2Fdarabonba","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliyun%2Fdarabonba/lists"}