Skip to content

chore: main refresh from v2 - #2671

Merged
Vincent Biret (baywet) merged 5 commits into
mainfrom
chore/v2-fixes-to-v3
Jan 6, 2026
Merged

chore: main refresh from v2#2671
Vincent Biret (baywet) merged 5 commits into
mainfrom
chore/v2-fixes-to-v3

Conversation

@baywet

Copy link
Copy Markdown
Member

main refresh from v2

Copilot AI and others added 3 commits December 22, 2025 14:44
… pointers

When extension parsers throw OpenApiException, the exceptions are now caught in LoadExtension methods across all OpenAPI versions (V2, V3, V3.1, V3.2). This ensures the error pointer correctly includes all path segments (e.g., #/definitions/demo/x-tag instead of #/definitions/x-tag).

Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>

refactor: make V2 LoadExtension consistent with other versions

Moved the return statement for JsonNodeExtension outside the catch block to match the pattern used in V3, V31, and V32 deserializers.

Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>

style: use raw string literals for JSON test data

Changed from verbatim string literals (@"...") to raw string literals ("""...""") for consistency with existing test code.

Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>

chore: refactors test definition for better coverage

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

chore: removes extraneous version
fix: wrap extension parser calls in try-catch to ensure correct error pointers
@baywet Vincent Biret (baywet) self-assigned this Jan 6, 2026
@baywet
Vincent Biret (baywet) marked this pull request as ready for review January 6, 2026 15:54
…port/v2--components--Microsoft.OpenApi

chore(support/v2): release 2.4.2
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
@baywet
Vincent Biret (baywet) requested a review from a team as a code owner January 6, 2026 15:58
@baywet Vincent Biret (baywet) changed the title fix: wrap extension parser calls in try-catch to ensure correct error pointers chore: main refresh from v2 Jan 6, 2026
@sonarqubecloud

sonarqubecloud Bot commented Jan 6, 2026

Copy link
Copy Markdown

@baywet
Vincent Biret (baywet) merged commit 1eed76a into main Jan 6, 2026
17 checks passed
@baywet
Vincent Biret (baywet) deleted the chore/v2-fixes-to-v3 branch January 6, 2026 16:29
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.

3 participants