-
-
Notifications
You must be signed in to change notification settings - Fork 9
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 models and methods for AsyncAPI 3.0.0 #86
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrote some questions. The rest is 💯 !
docs/v1.md
Outdated
@@ -398,6 +452,7 @@ | |||
- flows(): `OAuthFlows` | `undefined` | |||
- hasOpenIdConnectUrl(): `boolean` | |||
- openIdConnectUrl(): `string` | `undefined` | |||
- scopes(): `string[]` | `undefined` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already in SecurityRequirement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm removing this because it is already in the security requirement object, so afaik it is not really need here. I know this got simplified in v3 but still compatible. We don't need to mimic exactly what new versions do.
We should create a lighter version of this PR adding/changing only the necessary for releasing Parser-JS v2. Meaning all features of v3 that are not BC are out. |
Created a PR for this matter #93 @magicmatatjahu |
Those are the changes I recently made to the API.
I need your thoughts on this folks. |
@smoya is |
Yes, it is as far as I can see.
It is a breaking change since libraries using that method will mostly break. The reality behind that is that there is no other implementers of this api than our Parser-JS afaik, so in practice it wont really be a big problem if we consider a minor. But technically, it is a breaking change. |
I updated my comment and remove the |
I realized no one took care of this https://github.com/asyncapi/parser-js/pull/654/files#r1272712253 and we might want to implement the change here. |
In order to reduce the breaking change impact regarding the cc @jonaslagoni |
@jonaslagoni @magicmatatjahu would you mind doing a last review? |
Ping ping 😄 |
Closing in favor of #101 |
Description
Add models and methods for AsyncAPI 3.0.0:
title
,summary
,description
,tags
,externalDocs
and correspondinghas*
methods for core modelsfilterByTags
method for core modelsreply
method in Operation modelhost
andpathname
methods in Server modelOperationReply
andOperationReplyAddress
modelcc @smoya @jonaslagoni