{"id":22059228,"url":"https://github.com/opentable/swaggering","last_synced_at":"2026-05-02T15:36:33.916Z","repository":{"id":66076018,"uuid":"55043122","full_name":"opentable/swaggering","owner":"opentable","description":"Swagger 1.2 code generator","archived":false,"fork":false,"pushed_at":"2019-05-14T00:37:23.000Z","size":298,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-01-28T23:09:51.446Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/opentable.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":"2016-03-30T07:45:58.000Z","updated_at":"2019-05-14T00:37:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"114431a3-b205-4dfa-8cdd-292a31208c34","html_url":"https://github.com/opentable/swaggering","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentable%2Fswaggering","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentable%2Fswaggering/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentable%2Fswaggering/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentable%2Fswaggering/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opentable","download_url":"https://codeload.github.com/opentable/swaggering/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245136405,"owners_count":20566588,"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-30T17:27:41.465Z","updated_at":"2026-05-02T15:36:28.894Z","avatar_url":"https://github.com/opentable.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swaggering\nSwagger 1.2 code generator\n\n(For Swagger 2.0, please see https://github.com/go-swagger/go-swagger)\n\nSwaggering is a library for generating code based on Swagger 1.2 JSON description files.\n\nTo *use* this library, you'll probably want to\n\n```bash\ngo get github.com/opentable/swaggering/cmd/swagger-client-maker\n```\n\n# Note\n\nMy experience has been that Swagger JSON descriptions can be flaky.\nSwaggering does its best to generate code anyway -\nwhen there are references to models that don't exist in the API\nSwaggering templates in struct fields but comments them out.\nI've found the best thing is to amend the JSON rather than the resulting code.\nFor that, `jq` is an invaluable tool.\n\n# Building\n\nNote that the default templates live in defaultApi.tmpl and defaultModel.tmpl -\nif you update those files, you need to run `go generate` to update templates.go.\n\n# Future Work\n\nMaybe it'd be best to do all this with gofmt stuff instead of templates.\nc.f. https://github.com/sasha-s/go-inline for ideas.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentable%2Fswaggering","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopentable%2Fswaggering","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentable%2Fswaggering/lists"}