{"id":28761694,"url":"https://github.com/asyncapi/converter-go","last_synced_at":"2025-06-17T07:40:26.766Z","repository":{"id":37907122,"uuid":"196052288","full_name":"asyncapi/converter-go","owner":"asyncapi","description":"Convert AsyncAPI documents from older to newer versions with Golang","archived":false,"fork":false,"pushed_at":"2025-06-04T19:06:02.000Z","size":238,"stargazers_count":21,"open_issues_count":2,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-11T13:32:01.528Z","etag":null,"topics":["asyncapi","converter","go","golang","hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Go","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/asyncapi.png","metadata":{"funding":{"github":"asyncapi","patreon":null,"open_collective":"asyncapi","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null},"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-07-09T17:17:03.000Z","updated_at":"2025-06-04T19:06:03.000Z","dependencies_parsed_at":"2023-11-18T16:06:02.139Z","dependency_job_id":"1b3071c8-07dd-440d-824e-c7688bfabd6e","html_url":"https://github.com/asyncapi/converter-go","commit_stats":{"total_commits":117,"total_committers":9,"mean_commits":13.0,"dds":0.2222222222222222,"last_synced_commit":"062c383886421549cb78d65777cae9726d311fa9"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/asyncapi/converter-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyncapi%2Fconverter-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyncapi%2Fconverter-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyncapi%2Fconverter-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyncapi%2Fconverter-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asyncapi","download_url":"https://codeload.github.com/asyncapi/converter-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyncapi%2Fconverter-go/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259998845,"owners_count":22943876,"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":["asyncapi","converter","go","golang","hacktoberfest"],"created_at":"2025-06-17T07:40:21.681Z","updated_at":"2025-06-17T07:40:26.759Z","avatar_url":"https://github.com/asyncapi.png","language":"Go","funding_links":["https://github.com/sponsors/asyncapi","https://opencollective.com/asyncapi"],"categories":[],"sub_categories":[],"readme":"# AsyncAPI Converter\n\n[![Go Doc](https://godoc.org/github.com/asyncapi/converter-go?status.svg)](https://godoc.org/github.com/asyncapi/converter-go) ![Release](https://github.com/asyncapi/converter-go/workflows/Release/badge.svg) [![Go Report Card](https://goreportcard.com/badge/github.com/asyncapi/converter-go)](https://goreportcard.com/report/github.com/asyncapi/converter-go)\n\n## Overview\n\nThe AsyncAPI Converter converts AsyncAPI documents from versions 1.0.0, 1.1.0 and 1.2.0 to version 2.0.0. It supports both `json` and `yaml` formats on input and output. By default, the AsyncAPI Converter converts a document into the `json` format.\n\n## Prerequisites\n\n- [Golang](https://golang.org/dl/) version 1.11+\n\n## Installation\n\nTo install the AsyncAPI Converter package, run:\n\n```bash\ngo get github.com/asyncapi/converter-go/...\n```\n\n\u003e **TIP:** You can also get binaries from the [latest GitHub release](https://github.com/asyncapi/converter-go/releases/latest).\n\n## Usage\n\nYou can use the AsyncAPI Converter in the terminal or as a package.\n\n### In CLI\n\nBefore you use the AsyncAPI Converter in the terminal, build the application. Run:\n\n```bash\ngit clone https://github.com/asyncapi/converter-go.git\ncd ./converter-go\ngo build -o=asyncapi-converter ./cmd/api-converter/main.go\n```\n\nTo convert a document use the following command:\n\n```text\nasyncapi-converter \u003cdocument_path\u003e [--toYAML] [--id=\u003cid\u003e]\n```\n\nwhere:\n\n- `document_path` is a mandatory argument that is either a URL or a file path to an AsyncAPI document\n- `--toYAML` is an optional argument that allows producing results in the `yaml` format instead of `json`\n- `--id` is an optional argument that allows specifying the application `id`\n\n**Examples**\n\nSee the following minimal examples of the AsyncAPI Converter usage in the terminal:\n\n- `gitter-streaming` conversion from version 1.2.0 to 2.0.0 in the `json` format\n\n  ```text\n  asyncapi-converter https://git.io/fjMPF\n  ```\n\n- `gitter-streaming` conversion from version 1.2.0 to 2.0.0 in the `yaml` format\n\n  ```bash\n  asyncapi-converter https://git.io/fjMPF --toYAML\n  ```\n\n- `gitter-streaming` conversion from version 1.2.0 to 2.0.0 in the `json` format specifying the application `id`\n\n  ```bash\n  asyncapi-converter https://git.io/fjMXl --id=urn:com.asynapi.streetlights\n  ```\n\n### As a package\n\nTo see examples of how to use the AsyncAPI Converter as a package, go to the [README.md](./examples/README.md).\n\n## Contribution\n\nIf you have a feature request, add it as an issue or propose changes in a pull request (PR).\nIf you create a feature request, use the dedicated **Feature request** issue template. When you create a PR, follow the contributing rules described in the [`CONTRIBUTING.md`](https://github.com/asyncapi/.github/blob/master/CONTRIBUTING.md) document.\n\n## Credits\n\n\u003cp align=\"center\"\u003e\n \u003ca href=\"https://kyma-project.io/\" target=\"_blank\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/kyma-project/kyma/master/logo.png\" width=\"235\"\u003e\n \u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasyncapi%2Fconverter-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasyncapi%2Fconverter-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasyncapi%2Fconverter-go/lists"}