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: update openapi-sampler to 1.0.0 for better examples generation #355

Merged

Conversation

magicmatatjahu
Copy link
Member

@magicmatatjahu magicmatatjahu commented May 26, 2021

Description

Changes proposed in this pull request:

Update openapi-sampler package to 1.0.0. Support for more type formats and JSON Schema 7 driven by support for OpenAPI 3.1.
Changes: Redocly/openapi-sampler#122

Displaying time format:

image

Related issue(s)
Part of #209

@magicmatatjahu magicmatatjahu added the area/library Related to all activities around Library package label May 26, 2021
@sonarcloud
Copy link

sonarcloud bot commented May 26, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@derberg derberg changed the title feat: update openapi-sampler package to 1.0.0 feat: update openapi-sampler to 1.0.0 for better examples generation May 26, 2021
@derberg
Copy link
Member

derberg commented May 26, 2021

@magicmatatjahu I took the liberty to extend description a bit and the PR title too.

You need to change to merge into master and not next

@magicmatatjahu
Copy link
Member Author

@derberg Thanks! I described why it must be done in two separate PRs here -> #352 (comment) It's related to changes in package-lock between master and next branches. If I will make cherrypick from master to next then I will have to fixing rebase issues.

@derberg
Copy link
Member

derberg commented May 26, 2021

@magicmatatjahu sorry but I didn't get it. what is the problem to put it into master, then merge master into next? even if there are differences with conflicts, then just resolve by saying what is in next is priority, then npm install to add updated openapi-sampler to package-lock. Or am I missing something?

@magicmatatjahu
Copy link
Member Author

Then you will have two different commits if you will change something from cherry picking, yes? It will only complicate topic, really.

@derberg
Copy link
Member

derberg commented May 26, 2021

Do you mean cherry-picking as a concept or as a git functionality? why not just do a simple merge of latest master into next? I don't think there is anything in the master that cannot be pulled into next, right? this means normal PR, with as many commits you want and then squashing and merging into next as a single commit, right?

@derberg
Copy link
Member

derberg commented May 26, 2021

🤦🏼 I think now I get it, of course you need to do cherry pick, you are right that 2 separate PRs to next and master are better. Awaiting for a PR to master then

@magicmatatjahu
Copy link
Member Author

why not just do a simple merge of latest master into next? I don't think there is anything in the master that cannot be pulled into next, right?

No, there are a lot of changes between master and next branches. As I remember some dependencies also was removed from next branches in unification time. Really, don't complicated topic in this area. We will have to merge master to next in some time, when we will decide to go finally with 1.0.0, but it's not worth the trouble for just one package.

@magicmatatjahu
Copy link
Member Author

@derberg Thanks a lot for patience ❤️

@magicmatatjahu magicmatatjahu merged commit 02c40d8 into asyncapi:next May 26, 2021
@magicmatatjahu magicmatatjahu deleted the next-branches/openapi-sampler branch May 26, 2021 11:22
@derberg
Copy link
Member

derberg commented May 26, 2021

@magicmatatjahu remember about it once we see each other in a bar 🍻 😆

@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 1.0.0-next.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/library Related to all activities around Library package released on @next
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants