{"id":13469457,"url":"https://github.com/metadevpro/openapi3-ts","last_synced_at":"2025-05-14T19:04:53.541Z","repository":{"id":37664765,"uuid":"84108450","full_name":"metadevpro/openapi3-ts","owner":"metadevpro","description":"TS Model \u0026 utils for creating and exposing OpenAPI 3.x contracts.","archived":false,"fork":false,"pushed_at":"2024-09-24T04:21:09.000Z","size":826,"stargazers_count":511,"open_issues_count":6,"forks_count":63,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-13T06:20:23.677Z","etag":null,"topics":["openapi","ts"],"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/metadevpro.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"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":"2017-03-06T18:47:56.000Z","updated_at":"2025-04-08T14:35:00.000Z","dependencies_parsed_at":"2024-03-15T19:52:31.676Z","dependency_job_id":"6199e4d9-3e33-4349-b840-c2fd9e71b434","html_url":"https://github.com/metadevpro/openapi3-ts","commit_stats":{"total_commits":195,"total_committers":27,"mean_commits":7.222222222222222,"dds":0.4358974358974359,"last_synced_commit":"ec7f4d405fb3374c03e3bfd6a8638a22a8a445c9"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metadevpro%2Fopenapi3-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metadevpro%2Fopenapi3-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metadevpro%2Fopenapi3-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metadevpro%2Fopenapi3-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metadevpro","download_url":"https://codeload.github.com/metadevpro/openapi3-ts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254139572,"owners_count":22021207,"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","ts"],"created_at":"2024-07-31T15:01:40.783Z","updated_at":"2025-05-14T19:04:53.489Z","avatar_url":"https://github.com/metadevpro.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# OpenApi3-TS\n\nTypeScript library to help building OpenAPI 3.x compliant API contracts.\n\n[![Coverage Status](https://coveralls.io/repos/github/metadevpro/openapi3-ts/badge.svg?branch=master)](https://coveralls.io/github/metadevpro/openapi3-ts?branch=master)\n[![Known Vulnerabilities](https://snyk.io/test/github/metadevpro/openapi3-ts/badge.svg?targetFile=package.json)](https://snyk.io/test/github/metadevpro/openapi3-ts?targetFile=package.json)\n[![npm version](https://badge.fury.io/js/openapi3-ts.svg)](http://badge.fury.io/js/openapi3-ts)\n\n[![NPM](https://nodei.co/npm/openapi3-ts.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/openapi3-ts/)\n\n## Version 4\n\n*Breaking change notice:*\n\nVersion 4.0 Adds explicit support for OAS 3.0 and OAS 3.1 as separate implementations.\n\n### To use version 3.1 import\n\n```js\nimport { oas31 } from 'openapi3-ts';\n```\n\nOr directly import from subpath:\n\n```js\nimport { OpenAPIObject, OpenApiBuilder } from 'openapi3-ts/oas31';\n```\n\n### To use version 3.0 import\n\n```js\nimport { oas30 } from 'openapi3-ts';\n```\n\nOr directly import from subpath:\n\n```js\nimport { OpenAPIObject, OpenApiBuilder } from 'openapi3-ts/oas30';\n```\n\n## Includes\n\n* `/src/model` TS typed interfaces for helping building a contract.\n* `/src/dsl` Fluent DSL for building a contract.\n\n## Install\n\nInstall package via **npm**:\n\n```bash\nnpm i --save openapi3-ts\n```\n\n## Documentation, Versions, and Changelog\n\n* [Documentation](docs/index.md).\n* See [changelog](Changelog.md) for version and changes.\n\n## References\n\n* OpenAPI spec 3.1.0. [https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md)\n\n## License\n\nLicensed under the MIT License.\n\n## Credits\n\n**Contact:** Pedro J. Molina | github: [pjmolina](https://github.com/pjmolina) | twitter: [pmolinam](https://twitter.com/pmolinam)\n\n(c) 2017-2024. [Pedro J. Molina](http://pjmolina.com) at Metadev S.L. [https://metadev.pro](https://metadev.pro) \u0026 contributors.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetadevpro%2Fopenapi3-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetadevpro%2Fopenapi3-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetadevpro%2Fopenapi3-ts/lists"}