{"id":13601952,"url":"https://github.com/mnahkies/openapi-code-generator","last_synced_at":"2025-10-11T05:33:22.904Z","repository":{"id":90021304,"uuid":"283031380","full_name":"mnahkies/openapi-code-generator","owner":"mnahkies","description":"A code generation tool for openapi 3 / 3.1 specifications written in typescript, primarily aimed at generating typescript clients and server stubs. Other target languages may be added in future.","archived":false,"fork":false,"pushed_at":"2025-08-13T19:52:20.000Z","size":45629,"stargazers_count":30,"open_issues_count":24,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-09-15T19:54:02.339Z","etag":null,"topics":["angular","axios","codegen","devtools","koa","node-fetch","openapi","openapi-generator","openapi-specification","openapi3","openapi31","typescript","typespec","zod"],"latest_commit_sha":null,"homepage":"https://openapi-code-generator.nahkies.co.nz/","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/mnahkies.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-07-27T22:27:40.000Z","updated_at":"2025-09-07T18:28:35.000Z","dependencies_parsed_at":"2024-01-05T09:30:22.252Z","dependency_job_id":"218821e0-96b8-4e36-9841-e4d746736206","html_url":"https://github.com/mnahkies/openapi-code-generator","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/mnahkies/openapi-code-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnahkies%2Fopenapi-code-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnahkies%2Fopenapi-code-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnahkies%2Fopenapi-code-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnahkies%2Fopenapi-code-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mnahkies","download_url":"https://codeload.github.com/mnahkies/openapi-code-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnahkies%2Fopenapi-code-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006322,"owners_count":26084085,"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-11T02:00:06.511Z","response_time":55,"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":["angular","axios","codegen","devtools","koa","node-fetch","openapi","openapi-generator","openapi-specification","openapi3","openapi31","typescript","typespec","zod"],"created_at":"2024-08-01T18:01:10.565Z","updated_at":"2025-10-11T05:33:22.899Z","avatar_url":"https://github.com/mnahkies.png","language":"JavaScript","readme":"# @nahkies/openapi-code-generator\n\n[![CI/CD](https://github.com/mnahkies/openapi-code-generator/actions/workflows/ci.yml/badge.svg)](https://github.com/mnahkies/openapi-code-generator/actions?query=branch%3Amain+event%3Apush)\n[![npm](https://img.shields.io/npm/v/@nahkies/openapi-code-generator.svg)](https://www.npmjs.com/package/@nahkies/openapi-code-generator)\n\n`@nahkies/openapi-code-generator` is a CLI tool that aims to generate high quality typescript client SDK's,\nand API server scaffolding (routing, validation, serialization) from api specifications.\n\nCurrently, [OpenAPI 3.0.x](https://spec.openapis.org/oas/v3.0.4.html), [OpenAPI 3.1.x](https://spec.openapis.org/oas/v3.1.1.html),\nand [TypeSpec](https://typespec.io/) are supported as input specifications.\n\nWith typescript templates for [koa](https://openapi-code-generator.nahkies.co.nz/guides/server-templates/typescript-koa), [express](https://openapi-code-generator.nahkies.co.nz/guides/server-templates/typescript-express), [fetch](https://openapi-code-generator.nahkies.co.nz/guides/client-templates/typescript-fetch), [axios](https://openapi-code-generator.nahkies.co.nz/guides/client-templates/typescript-axios), and [angular](https://openapi-code-generator.nahkies.co.nz/guides/client-templates/typescript-angular) currently available.\n\nThe [fetch](https://openapi-code-generator.nahkies.co.nz/guides/client-templates/typescript-fetch) and [axios](https://openapi-code-generator.nahkies.co.nz/guides/client-templates/typescript-axios) templates work great in conjunction with [react-query](https://tanstack.com/query/latest)\n\n\u003e [!TIP]\n\u003e Try out our [interactive playground here](https://openapi-code-generator.nahkies.co.nz/playground)\n\n\u003c!-- toc --\u003e\n\n- [Documentation](#documentation)\n- [Project Structure](#project-structure)\n- [Contributing](#contributing)\n- [License](#license)\n\n\u003c!-- tocstop --\u003e\n\n## Documentation\n\nVisit https://openapi-code-generator.nahkies.co.nz/ for detailed documentation including\nquick start guides and reference material.\n\nThe documentation is built using NextJS / Nextra, and deployed using Github pages.\nYou can contribute to it in [./packages/documentation](./packages/documentation)\n\n## Project Structure\n\nThe repository is structured as a mono repo of several npm packages that work together under [./packages](./packages):\n\n- [openapi-code-generator](./packages/openapi-code-generator)\n- [typescript-axios-runtime](./packages/typescript-axios-runtime)\n- [typescript-express-runtime](./packages/typescript-express-runtime)\n- [typescript-fetch-runtime](./packages/typescript-fetch-runtime)\n- [typescript-koa-runtime](./packages/typescript-koa-runtime)\n\nThe `openapi-code-generator` package is the main package, whilst the others are supporting packages used at runtime by\nthe code output by some of the templates.\n\nIntegration test definitions live in [./integration-tests-definitions](./integration-tests-definitions) and the generated\ncode output to [./integration-tests](./integration-tests)\n\nScripts to refresh the test data live in [./scripts](./scripts)\n\n## Contributing\n\nContributing guidelines can be found in [./CONTRIBUTING.md](./CONTRIBUTING.md).\n\n## License\n\nMIT Licensed, see [./LICENSE](./LICENSE)\n","funding_links":[],"categories":["angular"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnahkies%2Fopenapi-code-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmnahkies%2Fopenapi-code-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnahkies%2Fopenapi-code-generator/lists"}