feat: add models and methods for AsyncAPI 3.0.0#86
Conversation
smoya
left a comment
There was a problem hiding this comment.
Wrote some questions. The rest is 💯 !
| - flows(): `OAuthFlows` | `undefined` | ||
| - hasOpenIdConnectUrl(): `boolean` | ||
| - openIdConnectUrl(): `string` | `undefined` | ||
| - scopes(): `string[]` | `undefined` |
There was a problem hiding this comment.
This is already in SecurityRequirement
There was a problem hiding this comment.
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,externalDocsand correspondinghas*methods for core modelsfilterByTagsmethod for core modelsreplymethod in Operation modelhostandpathnamemethods in Server modelOperationReplyandOperationReplyAddressmodelcc @smoya @jonaslagoni