{"id":14986642,"url":"https://github.com/luncher/openapi-generator","last_synced_at":"2026-01-05T02:12:45.220Z","repository":{"id":73559739,"uuid":"91571268","full_name":"Luncher/openapi-generator","owner":"Luncher","description":"openapi(swagger) spec generator","archived":false,"fork":false,"pushed_at":"2017-05-26T12:42:48.000Z","size":668,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T12:26:29.262Z","etag":null,"topics":["openapi","openapi-specification","swagger","swagger-specification"],"latest_commit_sha":null,"homepage":null,"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/Luncher.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,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-17T11:57:43.000Z","updated_at":"2017-05-19T13:34:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"612f5314-3700-4278-b9ec-808fbe445ee0","html_url":"https://github.com/Luncher/openapi-generator","commit_stats":{"total_commits":63,"total_committers":2,"mean_commits":31.5,"dds":0.4920634920634921,"last_synced_commit":"aa8758126edc8a54a4b623752fb48ffad45ad712"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luncher%2Fopenapi-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luncher%2Fopenapi-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luncher%2Fopenapi-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luncher%2Fopenapi-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Luncher","download_url":"https://codeload.github.com/Luncher/openapi-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244836072,"owners_count":20518378,"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","openapi-specification","swagger","swagger-specification"],"created_at":"2024-09-24T14:13:16.406Z","updated_at":"2026-01-05T02:12:45.194Z","avatar_url":"https://github.com/Luncher.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openapi generator\n\n[![Build Status][travis-image]][travis-url]\n[![Codecov Status][codecov-image]][codecov-url]\n[![David Status][david-image]][david-url]\n\n[david-url]: https://david-dm.org/Luncher/openapi-generator\n[david-image]: https://david-dm.org/Luncher/openapi-generator.svg?style=flat\n[travis-url]: https://travis-ci.org/Luncher/openapi-generator\n[travis-image]: https://img.shields.io/travis/Luncher/openapi-generator.svg?style=flat\n[codecov-url]: https://codecov.io/gh/Luncher/openapi-generator\n[codecov-image]: https://img.shields.io/codecov/c/github/Luncher/openapi-generator.svg?style=flat\n\nopenapi([swagger](http://swagger.io/)) spec generator, The integrated swagger-ui is used to generate API documentation\n\nThere are usually two ways to generate openapi spec `top-down approach`and` bottom-up approach`, ref [Getting Started](http://swagger.io/getting-started/) the `top-down` is too cumbersome\n. For an existing project I use the `bottom-up` approach. \n\n\u003eUsually everyone's application is not the same, but some things are similar, such as checking the input parameters, return to the client format fixed data content. I try to make the user only need to change the amount of code can be openapi related functions into existing applications.\n\n---\n\n## mainly through the following steps\n\n- 1. Define a skeleton according to the openapi [specification](http://swagger.io/specification/) for generate spec.\n- 2. Design adapters to fit common frames such as express, koa etc.\n- 3. Using swagger-codegen generate server and client code stub.\n- 4. Using swagger-ui generate api document.\n\n---\n\n## How to use\n\n+ 1. Clone this registry\n\n+ 2. Refer to the `src/adapter` folder to implement your own adapter\n\n+ 3. Refer to the `examples` folder to learn how to integrate into the application\n\n---\n\n## Todo List\n\n- [ ] Server and client code stub generate\n- [ ] Implement `feathersjs` adapter\n- [ ] Design a DSL to implement third-party adapters\n\n\n## License\n\n[MIT License](https://opensource.org/licenses/mit-license.php)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluncher%2Fopenapi-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluncher%2Fopenapi-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluncher%2Fopenapi-generator/lists"}