{"id":20260253,"url":"https://github.com/influxdata/oats","last_synced_at":"2025-10-14T04:32:42.225Z","repository":{"id":36854984,"uuid":"178945454","full_name":"influxdata/oats","owner":"influxdata","description":"An OpenAPI to TypeScript generator.","archived":false,"fork":false,"pushed_at":"2024-06-18T21:00:01.000Z","size":854,"stargazers_count":13,"open_issues_count":18,"forks_count":6,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-11T01:41:21.768Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/influxdata.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,"zenodo":null}},"created_at":"2019-04-01T20:55:04.000Z","updated_at":"2024-11-23T17:04:11.000Z","dependencies_parsed_at":"2025-04-11T01:34:54.858Z","dependency_job_id":"16044a2a-f75d-4680-b8fc-b895db760c58","html_url":"https://github.com/influxdata/oats","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/influxdata/oats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Foats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Foats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Foats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Foats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/influxdata","download_url":"https://codeload.github.com/influxdata/oats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Foats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017942,"owners_count":26086213,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-14T11:18:44.601Z","updated_at":"2025-10-14T04:32:42.206Z","avatar_url":"https://github.com/influxdata.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"An opinionated OpenAPI doc to TypeScript HTTP client generator.\n\nIn comparison to [openapi-generator](https://github.com/OpenAPITools/openapi-generator):\n\n- Strives to generate readable output\n- Supports enums, `oneOf`, and `allOf`\n- Does not require Java runtime\n- Generates `fetch`-based HTTP client with typed error responses \n- Does not support significant portions of the OpenAPI spec\n\n\n## Installation\n\n```\nyarn add -D @influxdata/oats\n```\n\n## Usage\n\n```\n$ yarn run oats --help\n```\n\n```\nUsage: oats [options] \u003copenApiSpec...\u003e\n\nAn opinionated OpenAPI doc to TypeScript HTTP client generator\n\nOptions:\n  -V, --version                output the version number\n  -i, --include \u003cparts\u003e        comma sepated list of code parts to generate (all by default: \"types,request,operations\")\n  -p, --prettier [true/false]  prettier output code (default: true)\n  --withDoc [true/false]       document generated types (default: true)\n  --patchScript \u003cfile\u003e         apply script that modifies openapi document (example: https://github.com/influxdata/influxdb-client-js/blob/master/packages/apis/scripts/patchSwagger.js)\n  --storeOperations \u003cfile\u003e     store operations to file\n  -h, --help                   output usage information\n  ```\n\n## Contributing\n\nSee [`CONTRIBUTING.md`](./CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfluxdata%2Foats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfluxdata%2Foats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfluxdata%2Foats/lists"}