Skip to content

Conversation

animeshjajoopostman
Copy link
Collaborator

@animeshjajoopostman animeshjajoopostman commented Oct 18, 2025

Description

Add pathItem reference resolution for OpenAPI 3.1 specs

When bundling multifile OpenAPI 3.1 specifications, the bundler correctly creates $ref pointers in the paths object that reference components.pathItems (which is valid in OpenAPI 3.1). However, convertV2() and convertV2WithTypes() expect path operations to be inline, not referenced. This resulted in empty collections with folders but no actual requests.

Testing Videos

Before

https://www.loom.com/share/560803f154af4b43884e1ad06e6d64c4?sid=49488c91-6513-484d-bf77-3c94eb9a174c

AFTER

https://www.loom.com/share/0aa0e641302141d594f39b83509b55fe?sid=0afb4781-4918-46b7-b10c-a399726b462f

Copy link
Contributor

unit test code coverage

Lines Statements Branches Functions
Coverage: 89%
89.16% (5808/6514) 80.84% (3810/4713) 93.67% (859/917)
Coverage Breakdown • (89%)
File% Stmts% Branch% Funcs% LinesUncovered Line #s
All files89.1680.8493.6789.28 
report-only-changed-files is enabled. No files were changed in this commit :)

Copy link
Contributor

integration test code coverage

Lines Statements Branches Functions
Coverage: 19%
19.25% (2045/10619) 13.44% (998/7425) 19.86% (235/1183)
Coverage Breakdown • (19%)
File% Stmts% Branch% Funcs% LinesUncovered Line #s
All files19.2513.4419.8619.54 
report-only-changed-files is enabled. No files were changed in this commit :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant