Skip to content

SWG-9288 utilizing safe url resolver for OAS 3.0 parsing#2032

Merged
MiloszTarka merged 1 commit intomasterfrom
SWG-9288-utilizing-safe-url-resolver-for-oas-30
Jan 11, 2024
Merged

SWG-9288 utilizing safe url resolver for OAS 3.0 parsing#2032
MiloszTarka merged 1 commit intomasterfrom
SWG-9288-utilizing-safe-url-resolver-for-oas-30

Conversation

@MiloszTarka
Copy link
Copy Markdown
Contributor

Addresses: #2030

This PR makes swagger-parser to utilizes safeUrlResolver when resolving OpenAPI 3.0 definitions.

The reason behind this change is described deeply under the following PR:
#1910

The $refs are checked in ResolverCache class, in loadRef method.

Copy link
Copy Markdown
Contributor

@frantuma frantuma left a comment

Choose a reason for hiding this comment

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

Great!

@frantuma frantuma removed the request for review from gracekarina January 8, 2024 18:10
@MiloszTarka MiloszTarka merged commit 2295b8a into master Jan 11, 2024
@MiloszTarka MiloszTarka deleted the SWG-9288-utilizing-safe-url-resolver-for-oas-30 branch January 11, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants