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

Convert relative refs when resolving an external schema #220

Closed
wants to merge 3 commits into from

Conversation

karlvr
Copy link

@karlvr karlvr commented Mar 11, 2021

Possibly corrects #200.

This however causes tests to fail as they’re not expecting the references to be resolved. I’m not sure yet how to fix the tests. I thought I’d wait to see if the fix is valid!

I'd love some feedback on this to progress it or change it!

Possibly corrects APIDevTools#200.

This however causes tests to fail as they’re not expecting the references to be resolved. I’m not sure yet how to fix the tests. I thought I’d wait to see if the fix is valid!
karlvr added a commit to karlvr/openapi-generator-plus that referenced this pull request Mar 11, 2021
…parser with our own versions

In order to apply our patch for external references
APIDevTools/json-schema-ref-parser#220
@philsturgeon
Copy link
Member

@karlvr hey I've poked a few people about trying to get a review, and hopefully it'll be more successful than when I tried 14 months ago.

@mikethecalamity
Copy link

Bump

@Borduhh
Copy link

Borduhh commented Oct 18, 2022

Any update on this? We'd be happy to look at the tests and change them if needed but are not maintainers on the project.

@danielfcollier
Copy link
Contributor

Hi there,

can someone help to write tests for this feature?

I've tested with npm run coverage:node @karlvr branch, and the tests are not passing, is that right? Please, correct with I'm wrong.

There is a starting point for the tests here: e121717

(I've added a branch with changes from this PR on top of some changes done for ISSUE-283 for tests on Windows.)

@philsturgeon
Copy link
Member

We'd need the conflicts fixed, but seems like nobody is around to review this other than me. Gulp.

@mikethecalamity
Copy link

Bump? (I guess it's that time of year)

@philsturgeon
Copy link
Member

@jonluca tagging you I’m if you’ve got time to have a look here. I’m not involved anymore.

@jonluca
Copy link
Collaborator

jonluca commented Sep 18, 2023

I'm open to a PR here but would need to update it to pass the tests and to use the new typescript repo. Closing this for now, feel free to open a new one

@jonluca jonluca closed this Sep 18, 2023
@mikethecalamity
Copy link

Where's the new repo?

@jonluca
Copy link
Collaborator

jonluca commented Sep 19, 2023

It's this repo - all the code was migrated to TS ~8 months ago

@mikethecalamity
Copy link

So I put the updates into a new PR: #322

But I have no idea if it's right, I've never used typescript before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants