Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for github blob URLs #484

Merged
merged 2 commits into from
Jul 12, 2022

Conversation

erunion
Copy link
Member

@erunion erunion commented Jul 12, 2022

🚥 Fix #481

🧰 Changes

This adds support to our core definition fetcher library to accept GitHub blob URLs like https://github.com/readmeio/oas-examples/blob/main/3.1/json/petstore.json and rewrite them to the raw version that we can access: https://raw.github.com/readmeio/oas-examples/main/3.1/json/petstore.json

🧬 QA & Testing

See tests.

@erunion erunion added enhancement New feature or request area:core Issues related to `core`, which is the package that powers the SDKs at runtime labels Jul 12, 2022
@erunion erunion requested review from a team, Dashron, domharrington and kanadgupta and removed request for a team July 12, 2022 01:27
@erunion erunion merged commit f8b20a8 into main Jul 12, 2022
@erunion erunion deleted the feat/support-non-raw-github-links branch July 12, 2022 04:08
@erunion erunion added this to the v5 milestone Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core Issues related to `core`, which is the package that powers the SDKs at runtime enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert non-raw GitHub links to files to raw links
2 participants