{"id":22144761,"url":"https://github.com/gas-buddy/small-swagger-codegen","last_synced_at":"2025-07-26T02:30:55.025Z","repository":{"id":57114353,"uuid":"130413730","full_name":"gas-buddy/small-swagger-codegen","owner":"gas-buddy","description":"A small version of swagger-codegen. Does fewer things with less code.","archived":false,"fork":false,"pushed_at":"2023-05-03T03:09:16.000Z","size":1248,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-23T20:34:33.106Z","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/gas-buddy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-20T21:04:42.000Z","updated_at":"2024-10-30T05:55:20.000Z","dependencies_parsed_at":"2024-09-25T22:23:41.230Z","dependency_job_id":null,"html_url":"https://github.com/gas-buddy/small-swagger-codegen","commit_stats":{"total_commits":237,"total_committers":10,"mean_commits":23.7,"dds":0.5147679324894514,"last_synced_commit":"59107f55b6793398515bd48a5f295e8c521b50c2"},"previous_names":[],"tags_count":50,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gas-buddy%2Fsmall-swagger-codegen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gas-buddy%2Fsmall-swagger-codegen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gas-buddy%2Fsmall-swagger-codegen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gas-buddy%2Fsmall-swagger-codegen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gas-buddy","download_url":"https://codeload.github.com/gas-buddy/small-swagger-codegen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227639544,"owners_count":17797650,"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-12-01T22:32:03.815Z","updated_at":"2024-12-01T22:32:04.441Z","avatar_url":"https://github.com/gas-buddy.png","language":"JavaScript","readme":"# small-swagger-codegen\n\n![Node CI](https://github.com/gas-buddy/small-swagger-codegen/workflows/Node%20CI/badge.svg)\n\nA small version of swagger-codegen. Does fewer things with less code. Supports Swift, Kotlin, and Javascript (using fetch/EventSource).\n\nUsage\n=====\nYou can either pass parameters on the command line or a configuration file.\n\nCommand line example:\nThis will build a Javascript module named my-spec-js-client with a default export of MyApi using snake casing (as opposed to the default camel casing) for methods and parameters, and output to the default directory - `client` (which can be overridden with `--output=someotherdir`)\n```\nnpx small-swagger-codegen --language=js --spec=./my-spec.json --name=MyApi --packageName=my-spec-js-client --snake\n```\n\nConfiguration files can be useful when you want to generate a number of clients at the same time, such as in a native app.\n\n```\n{\n  \"language\": \"swift\",\n  \"output\": \"./DevelopmentPods/Generated/\",\n  \"specs\": {\n    \"ApiOne\": {\n      \"spec\": \"./node_modules/api-one-spec/api-one-spec.json\",\n      \"className\": \"ApiOneAPI\",\n      \"basePath\": \"api1\"\n    },\n    \"OtherApi\": {\n      \"spec\": \"./node_modules/other-api-spec/other-api-spec.json\",\n      \"className\": \"OtherAPI\",\n      \"basePath\": \"other\"\n    }\n  }\n}\n```\n\nWhich, if saved in a file called `config.json` is run with\n```\nnpx small-swagger-codegen ./config.json\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgas-buddy%2Fsmall-swagger-codegen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgas-buddy%2Fsmall-swagger-codegen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgas-buddy%2Fsmall-swagger-codegen/lists"}