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 openapi 3.1 #122

Merged
merged 1 commit into from
May 24, 2021
Merged

Conversation

AlexVarchuk
Copy link
Contributor

@AlexVarchuk AlexVarchuk commented May 24, 2021

What/Why/How?

Add support open API 3.1

Copied some changes back from https://github.com/stoplightio/json-schema-sampler

cc @P0lip

Reference

Testing

Screenshots (optional)

Check yourself

  • Code is linted
  • Run test
  • All new/updated code is covered with tests

@AlexVarchuk AlexVarchuk merged commit 8444461 into master May 24, 2021
@philsturgeon
Copy link

Hey folks! This was a bit of a surprise, as we would have been happy to help you merge these changes back. The way this is done there's no attribution, no commit history, and seemingly no thank you anywhere.

We love attributing our friends working on API tooling at other organizations, like this on elements:

Screen Shot 2021-05-25 at 11 03 08 AM

If you'd like to do something similar, or pull the commits directly so @P0lip gets the history, that would be cool. If you plan on saying thanks elsewhere then no worries, this just felt like a bit of a shock to us as it's very non-standard for OSS projects to work this way.

@RomanHotsiy
Copy link
Member

@philsturgeon

Oh, we didn't meant to do it this way. I apologize for that.
You proposed I help merge these changes a few months ago. We did not want to bother you with that and decided to do it ourselves to save your time.

I agree it would be better to pull @polip commits directly. But we did not copy it 1-1, we had to add some minor changes to support backward-compatibility with our tools. I've rebased the history by pulling @polip commits and then adding our changes on top and will add attribution to the readme.

I apologize again for this whole situation.

On the other hand, this is also non-standard in OSS to fork-rename (and change the author) without first trying to contribute the changes to the source project. We understand you probably needed it ASAP and did not want to wait for us to review the PR.

@philsturgeon
Copy link

philsturgeon commented May 31, 2021 via email

@RomanHotsiy
Copy link
Member

Yes, it's the same functionality from what I can tell. You should be able to use it.

If something is missing, a PR would be appreciated! It shouldn't get ages to get merged 😄

@RomanHotsiy RomanHotsiy deleted the feat/support-openapi-3.1 branch May 31, 2021 14:46
@philsturgeon
Copy link

Cheers folks, stay safe and happy! Looking forward to another beer at a conference when we're aloud to do all that again. 👋🏻

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.

3 participants