{"id":15187358,"url":"https://github.com/leslieleung/yaag","last_synced_at":"2026-02-09T07:31:24.348Z","repository":{"id":63604638,"uuid":"559476702","full_name":"LeslieLeung/yaag","owner":"LeslieLeung","description":"Sync swagger to Yapi.","archived":false,"fork":false,"pushed_at":"2023-12-19T07:10:17.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T22:09:37.356Z","etag":null,"topics":["gin","gin-gonic","swagger","yapi"],"latest_commit_sha":null,"homepage":"","language":"Go","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/LeslieLeung.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-10-30T08:29:57.000Z","updated_at":"2023-04-17T08:41:38.000Z","dependencies_parsed_at":"2023-12-19T08:35:10.129Z","dependency_job_id":"485f8dcf-4fdf-4f09-810c-9a10b6881013","html_url":"https://github.com/LeslieLeung/yaag","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"ccd3fe805cb139c1ff6fea981cf2683e63e227ae"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeslieLeung%2Fyaag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeslieLeung%2Fyaag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeslieLeung%2Fyaag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeslieLeung%2Fyaag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeslieLeung","download_url":"https://codeload.github.com/LeslieLeung/yaag/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240815817,"owners_count":19862149,"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":["gin","gin-gonic","swagger","yapi"],"created_at":"2024-09-27T18:20:30.557Z","updated_at":"2026-02-09T07:31:24.286Z","avatar_url":"https://github.com/LeslieLeung.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yaag\n\u003e Upload Sw**ag**ger to **Ya**pi.\n\nEnglish | [简体中文](README_zh.md)\n\n## Installation\n\n### go install\n\n```bash\ngo install github.com/leslieleung/yaag@latest\n```\n\n## Quick Start\n\n### Create a `yaag.yaml` under your project\n\nYou can either copy `example/yaag.yaml` to your project root or \nsimply use `yaag -init` to create one.\n\n### Fill in the `yaag.yaml`\n\n```yaml\ndocDir: \"\" # the directory where you want to store the swagger.json\nmergeMode: \"\" # the mergeMode of Yapi, see http://yapi.smart-xwork.cn/doc/openapi.html\nswagGeneral: \"\" # the general API annotations, default to main.go\nyapiUrl: \"\" # url to yapi\nyapiToken: \"\" # token to yapi\n```\n\n### Install swag and write annotations\n\n```bash\ngo install github.com/swaggo/swag/cmd/swag@latest\n```\n\nFor more details, see [swaggo/swag](https://github.com/swaggo/swag) .\n\n### Run `yaag` in your project\n\n## Usage\n\n```bash\nUsage of yaag:\n  -docDir string\n        path to swagger.json\n  -init\n        init\n  -mergeMode string\n        merge mode\n  -upload\n        upload only, no swag generate\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleslieleung%2Fyaag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleslieleung%2Fyaag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleslieleung%2Fyaag/lists"}