{"id":26702887,"url":"https://github.com/sukkola/openapiv3-filter","last_synced_at":"2026-05-15T18:05:20.058Z","repository":{"id":279165319,"uuid":"936566172","full_name":"sukkola/openapiv3-filter","owner":"sukkola","description":"Cli tool for filtering openapi v3 documents","archived":false,"fork":false,"pushed_at":"2025-03-26T17:41:34.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-05T06:52:52.959Z","etag":null,"topics":["api","api-rest","cli","openapi","openapi-specification","openapi3","tool","tools","web"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sukkola.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,"zenodo":null}},"created_at":"2025-02-21T09:57:58.000Z","updated_at":"2025-03-26T17:41:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab6fc5ae-b3a0-405c-9da4-4c6de9eec348","html_url":"https://github.com/sukkola/openapiv3-filter","commit_stats":null,"previous_names":["sukkola/openapiv3-filter"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sukkola/openapiv3-filter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sukkola%2Fopenapiv3-filter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sukkola%2Fopenapiv3-filter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sukkola%2Fopenapiv3-filter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sukkola%2Fopenapiv3-filter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sukkola","download_url":"https://codeload.github.com/sukkola/openapiv3-filter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sukkola%2Fopenapiv3-filter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266952653,"owners_count":24011509,"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-07-25T02:00:09.625Z","response_time":70,"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":["api","api-rest","cli","openapi","openapi-specification","openapi3","tool","tools","web"],"created_at":"2025-03-27T03:17:31.719Z","updated_at":"2025-10-23T18:41:14.741Z","avatar_url":"https://github.com/sukkola.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":" # OpenAPI v3 Filter\n\n This tool filters OpenAPI v3 document contents, keeping only the content and its dependencies that match the provided filters.\n\n\n ## Installation\n\n ```bash\n brew install sukkola/tap/openapiv3-filter\n ```\n\n ## Usage\n\n ```bash\n openapiv3-filter api.yaml [OPTIONS]\n ```\n\n ### Options\n\n *   `-h, --help`: Prints help information\n *   `-V, --version`: Prints version information\n *   `-a, --api-document \u003cString\u003e`: Input file or - for stdin (default: -)\n *   `-p, --path \u003cString\u003e`: Full path or partial path with `*` wildcard depicting a match for the rest of the content.\n\n     Examples:\n\n     *   `--path '/pets'` - Exact match\n     *   `--path '/pets/*'` - Match all paths under `/pets`\n     *   `--path '*/pets'` - Match all paths ending with `/pets`\n *   `-m, --method \u003cString\u003e`: HTTP method name used in the operation mapping.\n\n     Examples:\n\n     *   `--method 'post'` - Matches `post` methods in the API specification\n     *   `--method 'post' --method 'get'` - Matches both `post` and `get` methods in the document\n *   `--tag \u003cString\u003e`: Tag name that is matched. Requires fully matched tag names.\n\n     Examples:\n\n     *   `--tag 'user_info'` - Matches `user_info` tags in the document\n     *   `--tag 'user_info' --tag 'collection'` - Matches both `user_info` and `collection` tags in the document\n *   `--security \u003cString\u003e`: Security name that is matched. Requires fully matched security names.\n\n     Examples:\n\n     *   `--security 'api_key'` - Matches API document content that uses `api_key` security definitions\n     *   `--security 'api_key' --security 'basic_auth'` - Matches both `api_key` and `basic_auth` security definitions in the document\n\n ### Examples\n\n ```bash\n # Filter operations with get method\nopenapiv3-filter api.yaml --method get\n\n # Filter operations with paths containing 'users'\n openapiv3-filter api.json --path '*users*'\n\n # Filter operations with multiple tags\n openapiv3-filter api.yaml --tag users --tag auth\n\n # Combine multiple filters\n openapiv3-filter api.json --path '/api/v1/*' --method post --tag admin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsukkola%2Fopenapiv3-filter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsukkola%2Fopenapiv3-filter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsukkola%2Fopenapiv3-filter/lists"}