{"id":16040116,"url":"https://github.com/uzimaru0000/oreq","last_synced_at":"2025-03-17T16:31:30.424Z","repository":{"id":214574082,"uuid":"736848036","full_name":"uzimaru0000/oreq","owner":"uzimaru0000","description":"The tool for interactively creating curl arguments from OpenAPI.","archived":false,"fork":false,"pushed_at":"2024-06-23T13:23:02.000Z","size":16508,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T01:48:07.303Z","etag":null,"topics":["cli","curl","openapi"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/uzimaru0000.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":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-29T03:55:39.000Z","updated_at":"2024-06-23T13:23:05.000Z","dependencies_parsed_at":"2023-12-29T05:23:03.522Z","dependency_job_id":"28bda942-56a8-4eaf-8262-73d0ba84a9e8","html_url":"https://github.com/uzimaru0000/oreq","commit_stats":null,"previous_names":["uzimaru0000/oreq"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uzimaru0000%2Foreq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uzimaru0000%2Foreq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uzimaru0000%2Foreq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uzimaru0000%2Foreq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uzimaru0000","download_url":"https://codeload.github.com/uzimaru0000/oreq/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243871644,"owners_count":20361378,"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":["cli","curl","openapi"],"created_at":"2024-10-08T23:09:43.600Z","updated_at":"2025-03-17T16:31:28.949Z","avatar_url":"https://github.com/uzimaru0000.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e:writing_hand: oreq\u003c/h1\u003e\n\n\u003ch2 align=\"center\"\u003e\u003cem\u003eOpenAPI Request Prompts\u003c/em\u003e\u003c/h2\u003e\n\n[![](https://img.shields.io/github/license/uzimaru0000/oreq?style=for-the-badge)](https://github.com/uzimaru0000/oreq/blob/master/LICENSE)\n[![](https://img.shields.io/github/v/release/uzimaru0000/oreq?style=for-the-badge)](https://github.com/uzimaru0000/oreq/releases/latest)\n![](https://img.shields.io/github/downloads/uzimaru0000/oreq/total?style=for-the-badge)\n\n\u003ch3 align=\"center\"\u003eThe tool for interactively creating curl arguments from OpenAPI.\u003c/h4\u003e\n\n## How to use\n\n![demo](./.github/images/demo.gif)\n\n## Example\n\n### Basic use case\n\n```bash\n$ oreq github.yaml\n┌   Build Request \n│\n◇  Path\n│  /repos/{owner}/{repo}\n│\n◇  Method\n│  GET\n│\n◇  Path Parameters\n◇  owner\n│  uzimaru0000\n│\n◇  repo\n│  oreq\n│\n\n-X GET 'https://api.github.com/repos/uzimaru0000/oreq'\n```\n\n### Send a request using curl\n\n```bash\n$ oreq github.yaml | xargs curl\n┌   Build Request \n│\n◇  Path\n│  /repos/{owner}/{repo}\n│\n◇  Method\n│  GET\n│\n◇  Path Parameters\n◇  owner\n│  uzimaru0000\n│\n◇  repo\n│  oreq\n│\n\n{\n  \"id\": 736848036,\n  \"node_id\": \"R_kgDOK-topA\",\n  \"name\": \"oreq\",\n  \"full_name\": \"uzimaru0000/oreq\",\n  \"private\": false,\n  \"owner\": {\n    \"login\": \"uzimaru0000\",\n    \"id\": 13715034,\n    \"node_id\": \"MDQ6VXNlcjEzNzE1MDM0\",\n    \"avatar_url\": \"https://avatars.githubusercontent.com/u/13715034?v=4\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/uzimaru0000\",\n    ....\n```\n\n### Read schema from pipe\n\n```bash\ncurl -s https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.yaml | oreq -\n┌   Build Request \n│\n◇  Path\n│  /repos/{owner}/{repo}\n│\n◇  Method\n│  GET\n│\n◇  Path Parameters\n◇  owner\n│  uzimaru0000\n│\n◇  repo\n│  oreq\n│\n\n-X GET 'https://api.github.com/repos/uzimaru0000/oreq'\n```\n\n## USAGE\n```\noreq [OPTIONS] \u003cSCHEMA\u003e\n```\n\n### OPTIONS\n```\n-b, --base-url \u003cBASE_URL\u003e        Base URL\n-H, --headers \u003cHEADERS\u003e\n-p, --path \u003cPATH\u003e                Path to request\n-X, --request \u003cMETHOD\u003e           Method to use\n-P, --param \u003cPATH_PARAM\u003e         Path parameters\n-q, --query-param \u003cQUERY_PARAM\u003e  Query parameters\n-f, --field \u003cFIELD\u003e              Request body\n-h, --help                       Print help\n-V, --version                    Print version\n```\n\n### ARGS\n```\n\u003cSCHEMA\u003e    OpenAPI schema path\n```\n\n## WIP :construction:\n\n### TODO\n\n- [ ] Resolve external reference\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuzimaru0000%2Foreq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuzimaru0000%2Foreq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuzimaru0000%2Foreq/lists"}