{"id":24283122,"url":"https://github.com/stephane-segning/rust-open-api-cli","last_synced_at":"2025-08-11T18:09:04.144Z","repository":{"id":183053439,"uuid":"669529638","full_name":"stephane-segning/rust-open-api-cli","owner":"stephane-segning","description":"openapi_cli is a Rust-based command-line tool for generating code from OpenAPI specifications","archived":false,"fork":false,"pushed_at":"2023-07-22T22:07:39.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T06:45:18.777Z","etag":null,"topics":["openapi3","reqwest","rust","rust-lang","structopt"],"latest_commit_sha":null,"homepage":"https://dev.ssegning.com","language":"Rust","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/stephane-segning.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-22T15:19:39.000Z","updated_at":"2025-06-03T09:55:57.000Z","dependencies_parsed_at":"2025-03-05T15:40:51.234Z","dependency_job_id":null,"html_url":"https://github.com/stephane-segning/rust-open-api-cli","commit_stats":null,"previous_names":["stephane-segning/rust-open-api-cli"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/stephane-segning/rust-open-api-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-segning%2Frust-open-api-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-segning%2Frust-open-api-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-segning%2Frust-open-api-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-segning%2Frust-open-api-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephane-segning","download_url":"https://codeload.github.com/stephane-segning/rust-open-api-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane-segning%2Frust-open-api-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269931487,"owners_count":24498724,"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-08-11T02:00:10.019Z","response_time":75,"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":["openapi3","reqwest","rust","rust-lang","structopt"],"created_at":"2025-01-16T03:56:27.961Z","updated_at":"2025-08-11T18:09:04.103Z","avatar_url":"https://github.com/stephane-segning.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openapi_cli\n\nopenapi_cli is a Rust-based command-line tool for generating code from OpenAPI specifications. It provides a simple way to download the OpenAPI generator and then generate code in a specified language.\n\n## Features\n- Downloads the OpenAPI generator CLI if it's not already present\n- Generates code in a specified language from an OpenAPI specification file\n- Provides a command-line interface for easy usage\n\n## Prerequisites\n- Rust programming language (You can install Rust from [here](https://rustup.rs/))\n- Java Development Kit (JDK)\n\n## Installation\n\n```bash\n$ git clone https://github.com/stephane-segning/rust-open-api-cli.git\n$ cd rust-open-api-cli\n$ cargo build --release\n```\n\nThe executable will be located in the **target/release** directory.\n\n## Usage\n\nTo use the application, run the command below from the command line:\n\n```bash\n$ ./target/release/openapi_cli generate -v \u003cversion\u003e -i \u003cinput\u003e -o \u003coutput\u003e -l \u003clanguage\u003e\n```\n\nReplace \u003cversion\u003e with the version of OpenAPI generator CLI, `\u003cinput\u003e` with the path to your OpenAPI specification file, \u003coutput\u003e with the path to the directory where the generated code should be saved, and \u003clanguage\u003e with the target language for the generated code.\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephane-segning%2Frust-open-api-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephane-segning%2Frust-open-api-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephane-segning%2Frust-open-api-cli/lists"}