{"id":20767006,"url":"https://github.com/binded/build-swagger","last_synced_at":"2025-03-11T18:51:23.891Z","repository":{"id":57191247,"uuid":"71283550","full_name":"binded/build-swagger","owner":"binded","description":"build-swagger","archived":false,"fork":false,"pushed_at":"2016-10-18T20:14:04.000Z","size":10,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-10-22T22:43:16.842Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/binded.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":"2016-10-18T19:24:41.000Z","updated_at":"2017-06-10T16:05:24.000Z","dependencies_parsed_at":"2022-09-15T22:23:12.779Z","dependency_job_id":null,"html_url":"https://github.com/binded/build-swagger","commit_stats":null,"previous_names":["blockai/build-swagger"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binded%2Fbuild-swagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binded%2Fbuild-swagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binded%2Fbuild-swagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binded%2Fbuild-swagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binded","download_url":"https://codeload.github.com/binded/build-swagger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242847868,"owners_count":20194972,"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":[],"created_at":"2024-11-17T11:27:13.079Z","updated_at":"2025-03-11T18:51:23.872Z","avatar_url":"https://github.com/binded.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# build-swagger\n\n[![Build Status](https://travis-ci.org/blockai/build-swagger.svg?branch=master)](https://travis-ci.org/blockai/build-swagger)\n\nSimple wrapper around [swagger-jsdoc](https://github.com/Surnet/swagger-jsdoc)\n\nBuilds a swagger.json based on a swagger.js specification file. By\ndefault, tries to find `swagger.js` in `./swagger.js` and\n`./src/swagger.js` and writes to `./swagger.json`.\n\n## Install\n\n```bash\nnpm install --save build-swagger\n```\n\nRequires Node v6+\n\n## Usage\n\nSee [./test](./test) directory for usage examples.\n\n```bash\nbuild-swagger [--spec] [--jsonPath]\n# by default, spec looks for ./swagger.js or ./src/swagger.js\n# if jsonPath is not specified, it will output to stdout\n\n# example:\nbuild-swagger.js --spec ./src/swagger.js --jsonPath myswagger.json\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinded%2Fbuild-swagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinded%2Fbuild-swagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinded%2Fbuild-swagger/lists"}