{"id":16302991,"url":"https://github.com/himenon/openapi-typescript-code-generator-demo-project","last_synced_at":"2026-04-24T23:31:42.686Z","repository":{"id":47137596,"uuid":"355945487","full_name":"Himenon/openapi-typescript-code-generator-demo-project","owner":"Himenon","description":"Demo Project for @himenon/openapi-typescript-code-generator","archived":false,"fork":false,"pushed_at":"2021-09-12T14:18:28.000Z","size":278,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-18T00:43:21.311Z","etag":null,"topics":["openapi","openapi-codegen","openapi3"],"latest_commit_sha":null,"homepage":"https://github.com/Himenon/openapi-typescript-code-generator","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Himenon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-08T14:44:28.000Z","updated_at":"2022-05-22T15:21:37.000Z","dependencies_parsed_at":"2022-07-22T13:47:07.267Z","dependency_job_id":null,"html_url":"https://github.com/Himenon/openapi-typescript-code-generator-demo-project","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Himenon/openapi-typescript-code-generator-demo-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Himenon%2Fopenapi-typescript-code-generator-demo-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Himenon%2Fopenapi-typescript-code-generator-demo-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Himenon%2Fopenapi-typescript-code-generator-demo-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Himenon%2Fopenapi-typescript-code-generator-demo-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Himenon","download_url":"https://codeload.github.com/Himenon/openapi-typescript-code-generator-demo-project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Himenon%2Fopenapi-typescript-code-generator-demo-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32245024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["openapi","openapi-codegen","openapi3"],"created_at":"2024-10-10T20:59:25.981Z","updated_at":"2026-04-24T23:31:42.670Z","avatar_url":"https://github.com/Himenon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Demo project for [Himenon/openapi-typescript-code-generator](https://github.com/Himenon/openapi-typescript-code-generator)\n\n[日本語](./README_ja.md)\n\nThis section describes the specific steps for code generation.\n\n## Setup\n\nFirst, you need to clone this repository. \n\n```sh\ngit clone https://github.com/Himenon/openapi-typescript-code-generator-demo-project\n```\n\nThen go to the cloned directory and install the package.\n\n```sh\ncd openapi-typescript-code-generator-demo-project\nyarn install\n```\n\nThe setup is now complete.\n\n## Run demo\n\nLet's actually create the code in [Usage](https://github.com/Himenon/openapi-typescript-code-generator#usage).\nThe OpenAPI Schema to be loaded is `openapi.yml`.\n\nAlso, the actual code to be executed will be written in plain JavaScript.\n\n### Demo1\n\nExamples to DEMO：[Generate typedef-only code](https://github.com/Himenon/openapi-typescript-code-generator#generate-typedef-only-code)\n\nExecute the following command to generate the code in the demo1 directory.\n\n```sh\nnode generate-demo1.js\n```\n\n### Demo2\n\nExamples to DEMO：[Generate code containing the API Client](https://github.com/Himenon/openapi-typescript-code-generator#generate-code-containing-the-api-client)\n\nExecute the following command to generate the code in the demo2 directory.\n\n```sh\nnode generate-demo2.js\n```\n\n## Demo3\n\nExamples to DEMO：[Split the type definition file and the API Client implementation](https://github.com/Himenon/openapi-typescript-code-generator#split-the-type-definition-file-and-the-api-client-implementation)\n\nExecute the following command to generate the code in the demo3 directory.\n\n```sh\nnode generate-demo3.js\n```\n\n## About the package you need\n\n[@himenon/openapi-typescript-code-generator](https://www.npmjs.com/package/@himenon/openapi-typescript-code-generator) provides a mechanism for generating code from OpenAPI Schema.\n\nIt also uses TypeScript itself directly internally. Therefore, if you do not have this [typescript](https://www.npmjs.com/package/typescript) package installed, you will not be able to generate code.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimenon%2Fopenapi-typescript-code-generator-demo-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimenon%2Fopenapi-typescript-code-generator-demo-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimenon%2Fopenapi-typescript-code-generator-demo-project/lists"}