{"id":16993334,"url":"https://github.com/ioggstream/openapi-resolver","last_synced_at":"2025-03-23T17:31:12.997Z","repository":{"id":46806235,"uuid":"145992506","full_name":"ioggstream/openapi-resolver","owner":"ioggstream","description":"A python 3 module for resolving $refs in OpenAPI specs and create bundles.","archived":false,"fork":false,"pushed_at":"2021-09-24T13:34:06.000Z","size":56,"stargazers_count":5,"open_issues_count":7,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T22:24:49.623Z","etag":null,"topics":["api","api-design","openapi3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/ioggstream.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}},"created_at":"2018-08-24T13:05:35.000Z","updated_at":"2024-09-15T22:00:58.000Z","dependencies_parsed_at":"2022-09-26T18:21:59.655Z","dependency_job_id":null,"html_url":"https://github.com/ioggstream/openapi-resolver","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioggstream%2Fopenapi-resolver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioggstream%2Fopenapi-resolver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioggstream%2Fopenapi-resolver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioggstream%2Fopenapi-resolver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ioggstream","download_url":"https://codeload.github.com/ioggstream/openapi-resolver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245140923,"owners_count":20567473,"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":["api","api-design","openapi3"],"created_at":"2024-10-14T03:42:53.640Z","updated_at":"2025-03-23T17:31:12.314Z","avatar_url":"https://github.com/ioggstream.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAPI Resolver\n\n[![CircleCI](https://circleci.com/gh/ioggstream/openapi-resolver.svg?style=svg)](https://circleci.com/gh/ioggstream/openapi-resolver)\n[![CodeCov](https://codecov.io/gh/ioggstream/openapi-resolver/branch/master/graph/badge.svg)](https://codecov.io/gh/ioggstream/openapi-resolver)\n\nThis module recursively parses openapi specs resolving references.\n\n## Test\n\nTests run locally via \n\n        tox\n\nOr via [circleci-local](https://circleci.com/docs/2.0/local-cli/)\n\n        circleci build \n\n\n## Usage\n\nThe module has an embedded script that can be run via\n\n        $ python -m openapi_resolver --help\n\n        usage: __main__.py [-h] src_file [dst_file]\n\n        Recursively resolves and bundles OpenAPI v3 files.\n\n        positional arguments:\n          src_file    An OpenAPI v3 yaml file.\n          dst_file    Destination file, default is stdout.\n\n        optional arguments:\n          -h, --help  show this help message and exit\n\nTo create an openapi bundle from a spec file just run\n\n        $ python -m openapi_resolver sample.yaml\n\nYou can use this module to normalize two specs before diffing, eg:\n\n        $ python -m openapi_resolver one.yaml normal-one.yaml\n        $ python -m openapi_resolver two.yaml normal-two.yaml\n        $ diff normal-one.yaml normal-two.yaml\n\n## Use with docker\n\nBuild the image with:\n\n```\n$ docker build --tag openapi-resolver . \n```\n\nthen run docker mapping the openapi.yaml directory\nto the `/code` volume.\n\n```\ndocker run -it --rm -v $(dirname path-to-openapi.yaml):/code \\\n    openapi-resolver /code/openapi.yaml /code/bundle.yaml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fioggstream%2Fopenapi-resolver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fioggstream%2Fopenapi-resolver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fioggstream%2Fopenapi-resolver/lists"}