{"id":13800843,"url":"https://github.com/apigee-127/sway","last_synced_at":"2025-05-15T01:07:02.619Z","repository":{"id":30139933,"uuid":"33690025","full_name":"apigee-127/sway","owner":"apigee-127","description":"A library that simplifies OpenAPI (fka Swagger) integrations/tooling.","archived":false,"fork":false,"pushed_at":"2025-02-13T01:42:09.000Z","size":117505,"stargazers_count":190,"open_issues_count":68,"forks_count":92,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-05-10T07:06:42.795Z","etag":null,"topics":["apis","javascript","nodejs","openapi","swagger"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/apigee-127.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2015-04-09T20:07:18.000Z","updated_at":"2024-04-01T20:38:45.000Z","dependencies_parsed_at":"2024-01-13T10:41:45.648Z","dependency_job_id":"abb111d6-d84e-4794-a2c1-59012f6c625b","html_url":"https://github.com/apigee-127/sway","commit_stats":{"total_commits":236,"total_committers":20,"mean_commits":11.8,"dds":"0.11864406779661019","last_synced_commit":"9bbd38ccc3fdf7158c3898f024536b845f01bd34"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apigee-127%2Fsway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apigee-127%2Fsway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apigee-127%2Fsway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apigee-127%2Fsway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apigee-127","download_url":"https://codeload.github.com/apigee-127/sway/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254232426,"owners_count":22036551,"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":["apis","javascript","nodejs","openapi","swagger"],"created_at":"2024-08-04T00:01:16.846Z","updated_at":"2025-05-15T01:06:57.591Z","avatar_url":"https://github.com/apigee-127.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"A library that simplifies [OpenAPI][openapi] integrations.  This library handles the minutiae of loading OpenAPI\ndocuments *(local and remote)*, resolving references *(local, remote)*, building an object model and providing you with\na rich set of APIs for things like OpenAPI document validation, request/response validation, etc.  For more details on\nthe available APIs, please view the [API Documentation](https://github.com/apigee-127/sway/blob/master/docs/API.md).\n\n`master` will always be built to support the latest release of OpenAPI, which right now is `3.x`.  Previous versions are\nin their own respective `v{N}.x` branch:\n\n* _3.x Support (WIP):_ `master`\n* _2.x Support:_ [v2.x](https://github.com/apigee-127/sway/tree/v2.x)\n\n## Project Badges\n\n* Dependencies: [![Dependencies](https://david-dm.org/apigee-127/sway.svg)](https://david-dm.org/apigee-127/sway)\n* Developer dependencies: [![Dev Dependencies](https://david-dm.org/apigee-127/sway/dev-status.svg)](https://david-dm.org/apigee-127/sway#info=devDependencies\u0026view=table)\n* Downloads: [![NPM Downloads Per Month](http://img.shields.io/npm/dm/sway.svg)](https://www.npmjs.org/package/sway)\n* Gitter: [![Join the chat at https://gitter.im/apigee-127/sway](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/apigee-127/sway?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n* License: [![License](http://img.shields.io/npm/l/sway.svg)](https://github.com/apigee-127/sway/blob/master/LICENSE)\n* Version: [![NPM Version](http://img.shields.io/npm/v/sway.svg)](https://www.npmjs.org/package/sway)\n\n## Installation\n\nsway is available for both Node.js and the browser.  Installation instructions for each environment are below.\n\n### Browser\n\nsway binaries for the browser are available in the `dist/` directory:\n\n* [sway-standalone.js](https://raw.github.com/apigee-127/sway/master/dist/sway.js): _9,160kb_, full source  and source maps\n* [sway-standalone-min.js](https://raw.github.com/apigee-127/sway/master/dist/sway-min.js): _864kb_, minified, compressed and no source map\n\n**Note:** I realize these binaries are big and I'm working on making them smaller.  Unfortunately, some of this is out\nof my control without rewriting some of the core features provided by third-party libraries currently contributing to\nthe size issue.\n\nOf course, these links are for the master builds so feel free to download from the release of your choice.  Once you've\ngotten them downloaded, to use the standalone binaries, your HTML include might look like this:\n\n``` html\n\u003c!-- ... --\u003e\n\u003cscript src=\"sway.js\"\u003e\u003c/script\u003e\n\u003c!-- ... --\u003e\n```\n\n### Node.js\n\nInstallation for Node.js applications can be done via [NPM][npm].\n\n```\nnpm install sway --save\n```\n\n## Documentation\n\nThe documentation for this project can be found here: [/docs/README](/docs/README.md)\n\nOf course, if you just want a quick link to the API documentation, that would be here:[/docs/API.md](/docs/API.md)\n\n## Contributing\n\nThis project uses [Gulp][gulp] for building so `npm install -g gulp` once you clone this project.  Running `gulp` in the\nproject root will lint check the source code and run the unit tests.\n\n[gulp]: http://gulpjs.com/\n[openapi]: https://www.openapis.org/\n[npm]: https://www.npmjs.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapigee-127%2Fsway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapigee-127%2Fsway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapigee-127%2Fsway/lists"}