{"id":15091493,"url":"https://github.com/markruler/swage","last_synced_at":"2026-03-12T09:44:10.337Z","repository":{"id":53105391,"uuid":"350696740","full_name":"markruler/swage","owner":"markruler","description":"OpenAPI Specification v2.0 to Excel","archived":false,"fork":false,"pushed_at":"2021-04-08T00:07:22.000Z","size":2373,"stargazers_count":10,"open_issues_count":4,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-15T13:03:44.555Z","etag":null,"topics":["oas","openapi","openapi-specification","swagger","xlsx"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markruler.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}},"created_at":"2021-03-23T12:04:09.000Z","updated_at":"2024-08-30T15:48:17.000Z","dependencies_parsed_at":"2022-09-06T17:51:18.146Z","dependency_job_id":null,"html_url":"https://github.com/markruler/swage","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/markruler/swage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markruler%2Fswage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markruler%2Fswage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markruler%2Fswage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markruler%2Fswage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markruler","download_url":"https://codeload.github.com/markruler/swage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markruler%2Fswage/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265866141,"owners_count":23840937,"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":["oas","openapi","openapi-specification","swagger","xlsx"],"created_at":"2024-09-25T10:41:23.875Z","updated_at":"2026-03-12T09:44:05.306Z","avatar_url":"https://github.com/markruler.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swage\n\n\u003e Command line tool to convert OpenAPI specification data (`json`, `yaml`) to Excel (`xlsx`) format\n\n## Install\n\n- [Releases](https://github.com/markruler/swage/releases)\n\n```bash\ncd /tmp\n# curl -LO https://github.com/markruler/swage/releases/download/v0.2.2/swage_v0.2.2_$(uname -s)_$(uname -p).tar.gz\nwget https://github.com/markruler/swage/releases/download/v0.2.2/swage_v0.2.2_$(uname -s)_$(uname -p).tar.gz\ntar zxvf swage_v0.2.2_$(uname -s)_$(uname -p).tar.gz\nsudo mv swage /usr/local/bin/swage\n```\n\n```bash\nswage version\n```\n\n## Usage\n\n```bash\nswage gen \u003cpath\u003e\n```\n\n```bash\n# file path\nswage gen testdata/yaml/docker.v1.41.yaml\n```\n\n```bash\n# URL path\nswage gen https://docs.docker.com/engine/api/v1.41.yaml\nswage gen https://raw.githubusercontent.com/kubernetes/kubernetes/v1.20.5/api/openapi-spec/swagger.json\n```\n\n## Background\n\n### OAS\n\n- [Swagger - SmartBear Software](https://swagger.io/docs/specification/about)\n- [OpenAPI - The Linux Foundation](https://www.openapis.org/about)\n- OpenAPI Specification (formerly Swagger Specification) is an API description format for REST APIs. An OpenAPI file allows you to describe your entire API.\n\n### XLSX extension\n\n- [MS-XLSX Standard](https://docs.microsoft.com/en-us/openspecs/office_standards/ms-xlsx/)\n- The Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format specifies extensions\n  to the Office Open XML file formats described in [ISO/IEC29500-1:2016](https://www.iso.org/standard/71691.html).\n  The extensions are specified using conventions provided by the Office Open XML file formats\n  described in [ISO/IEC29500-3:2015](https://www.iso.org/standard/65533.html).\n\n## Dependencies\n\n- [spf13/cobra](https://github.com/spf13/cobra)\n- [go-openapi/spec](https://github.com/go-openapi/spec)\n- [go-openapi/loads](https://github.com/go-openapi/loads)\n- [360EntSecGroup-Skylar/excelize](https://github.com/360EntSecGroup-Skylar/excelize)\n\n## References\n\n- [SmartBear Documentations](https://swagger.io/docs/specification)\n- [OAI OpenAPI Specification](https://github.com/OAI/OpenAPI-Specification)\n- [APIs.guru](https://apis.guru/browse-apis/)\n- [APIs.guru - GitHub](https://github.com/APIs-guru/openapi-directory)\n\n## Open API Specification (OAS) Revision History\n\n- [OpenAPI Specification - Appendix A: Revision History](https://swagger.io/specification/#appendix-a-revision-history)\n- by SmartBear\n\n| Version   | Date       | Notes                                             |\n| --------- | ---------- | ------------------------------------------------- |\n| 3.0.3     | 2020-02-20 | Patch release of the OpenAPI Specification 3.0.3  |\n| 3.0.2     | 2018-10-08 | Patch release of the OpenAPI Specification 3.0.2  |\n| 3.0.1     | 2017-12-06 | Patch release of the OpenAPI Specification 3.0.1  |\n| 3.0.0     | 2017-07-26 | Release of the OpenAPI Specification 3.0.0        |\n| 3.0.0-rc2 | 2017-06-16 | rc2 of the 3.0 specification                      |\n| 3.0.0-rc1 | 2017-04-27 | rc1 of the 3.0 specification                      |\n| 3.0.0-rc0 | 2017-02-28 | Implementer's Draft of the 3.0 specification      |\n| 2.0       | 2015-12-31 | Donation of Swagger 2.0 to the OpenAPI Initiative |\n| 2.0       | 2014-09-08 | Release of Swagger 2.0                            |\n| 1.2       | 2014-03-14 | Initial release of the formal document.           |\n| 1.1       | 2012-08-22 | Release of Swagger 1.1                            |\n| 1.0       | 2011-08-10 | First release of the Swagger Specification        |\n\n![OAS Version](docs/images/oas-version.jpg)\n\n_[A Guide to What’s New in OpenAPI 3.0](https://swagger.io/blog/news/whats-new-in-openapi-3-0/) - Ryan Pinkham_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkruler%2Fswage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkruler%2Fswage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkruler%2Fswage/lists"}