Skip to content

[WIP] [WIP] Address feedback on serialization updates for examples in v2/v3 PR#2971

Merged
baywet merged 3 commits into
fix/examples-serializationfrom
copilot/wip-address-feedback-on-serialization-updates
Jul 20, 2026
Merged

[WIP] [WIP] Address feedback on serialization updates for examples in v2/v3 PR#2971
baywet merged 3 commits into
fix/examples-serializationfrom
copilot/wip-address-feedback-on-serialization-updates

Conversation

Copilot AI commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Thanks for the feedback on #2970. I've created this new PR, which merges into #2970, to address your comment. I will work on the changes and keep this PR's description up to date as I make progress.

Original PR: #2970
Triggering review: #2970 (comment)

Let's tackle the field being marked as obsolete in a separate PR for now.

@copilot implement the following additional serialization updates for v3.0 and 2.0 when example is not set:

  • if examples has a single item, serialize that as example property, do not serialize any extension
  • if examples has multiple items, serialize the first one as example property, serialize the remaining ones as the extension

Copilot AI requested a review from baywet July 20, 2026 16:01
@baywet
baywet marked this pull request as ready for review July 20, 2026 16:09
@baywet
baywet requested a review from a team as a code owner July 20, 2026 16:09
@baywet
baywet merged commit 86b6e49 into fix/examples-serialization Jul 20, 2026
8 of 9 checks passed
@baywet
baywet deleted the copilot/wip-address-feedback-on-serialization-updates branch July 20, 2026 16:10
@sonarqubecloud

Copy link
Copy Markdown

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.

2 participants