{"id":15717855,"url":"https://github.com/danielgek/openapi-ts","last_synced_at":"2025-05-13T02:14:37.467Z","repository":{"id":42175927,"uuid":"217571903","full_name":"danielgek/openapi-ts","owner":"danielgek","description":"OpenApi/Swagger to Typescript defenitions!","archived":false,"fork":false,"pushed_at":"2022-04-11T18:52:52.000Z","size":74,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-13T02:14:27.682Z","etag":null,"topics":["openapi","swagger","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielgek.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}},"created_at":"2019-10-25T16:17:19.000Z","updated_at":"2020-09-04T07:31:25.000Z","dependencies_parsed_at":"2022-08-12T08:41:05.992Z","dependency_job_id":null,"html_url":"https://github.com/danielgek/openapi-ts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgek%2Fopenapi-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgek%2Fopenapi-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgek%2Fopenapi-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgek%2Fopenapi-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielgek","download_url":"https://codeload.github.com/danielgek/openapi-ts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253856666,"owners_count":21974582,"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":["openapi","swagger","typescript"],"created_at":"2024-10-03T21:51:29.604Z","updated_at":"2025-05-13T02:14:37.447Z","avatar_url":"https://github.com/danielgek.png","language":"TypeScript","readme":"# OpenApi/Swagger to TypeScript definitions!\n\nThis tool generates TypeScript interfaces/Enums to all entities that you specified on swagger/openapi spec.\n\n**Note:** this generates **only** interfaces and Enums\n\n## Installation\n\n```\nnpm install --save-dev openapi-ts\n```\n\n## Generating types (CLI)\n\n```bash\nnpx openapi-ts -i ./src/api-docs.json -o ./gen.d.ts\n```\n\n## Generating types (javascript module)\n\n```javascript\nconst { generate } = require('openapi-ts');\n\ngenerate(openAPISpecPath, outputPath);\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielgek%2Fopenapi-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielgek%2Fopenapi-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielgek%2Fopenapi-ts/lists"}