-
-
Notifications
You must be signed in to change notification settings - Fork 108
refactor: add migration function from v2 to v1 API #607
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
refactor: add migration function from v2 to v1 API #607
Conversation
@@ -14,4 +15,36 @@ export class ExternalDocs extends SpecificationExtensionsModel<v2.ExternalDocume | |||
description() { | |||
return description(this); | |||
} | |||
|
|||
hasExtensions() { |
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 had to do that due to circular references between tag
, externalDocs
and mixins
files.
@@ -22,4 +23,36 @@ export class Tag extends SpecificationExtensionsModel<v2.TagObject> { | |||
hasExternalDocs() { | |||
return hasExternalDocs(this); | |||
} | |||
|
|||
hasExtensions() { |
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 had to do that due to circular references between tag, externalDocs and mixins files.
Kudos, SonarCloud Quality Gate passed! |
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.
LGTM! 🚀🌔 Great addition!
/rtm |
Description
migration
function from v1 to v2 API and expose it .document
notparsed
fromparser.parse()
function.cc @smoya
Related issue(s)
Part of #481
Part of #482