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

perf: update swagger-parser version, remove workaround (#13025) #13080

Closed
wants to merge 1 commit into from

Conversation

KennethBWSong
Copy link
Contributor

  • perf: update swagger-parser version, remove workaround

  • perf: update lock file

  • perf: update test cases

  • fix: test issue


* perf: update swagger-parser version, remove workaround

* perf: update lock file

* perf: update test cases

* fix: test issue

---------

Co-authored-by: rentu <rentu>
@wenytang-ms wenytang-ms added the cherry-pick-hotfix hotfix that need to be merge into dev and release branch label Jan 21, 2025
@@ -283,6 +286,11 @@ export class SpecParser {
}
}

private async deReferenceSpec(spec: any): Promise<OpenAPIV3.Document> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when is this method used?

@@ -90,8 +90,11 @@ export class SpecParser {
if (!this.parser.$refs.circular) {
await this.parser.validate(this.spec!);
} else {
// The following code still hangs for Graph API, support will be added when SwaggerParser is updated.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems no need to change here for the hotfix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick-hotfix hotfix that need to be merge into dev and release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants