Skip to content

feat(models): add shared Content interface (#2695) - #2699

Merged
Vincent Biret (baywet) merged 1 commit into
support/v2from
feat/content-interface-to-v2
Jan 21, 2026
Merged

feat(models): add shared Content interface (#2695)#2699
Vincent Biret (baywet) merged 1 commit into
support/v2from
feat/content-interface-to-v2

Conversation

@baywet

@baywet Vincent Biret (baywet) commented Jan 21, 2026

Copy link
Copy Markdown
Member

port of #2695

feat(models): add shared Content interface

* Update src/Microsoft.OpenApi/Models/Interfaces/IOpenApiContentElement.cs

Co-authored-by: Vincent Biret <vincentbiret@hotmail.com>

* Update src/Microsoft.OpenApi/Models/Interfaces/IOpenApiContentElement.cs

Co-authored-by: Vincent Biret <vincentbiret@hotmail.com>

* Update src/Microsoft.OpenApi/Models/OpenApiHeader.cs

Co-authored-by: Vincent Biret <vincentbiret@hotmail.com>

* Update src/Microsoft.OpenApi/Models/OpenApiResponse.cs

Co-authored-by: Vincent Biret <vincentbiret@hotmail.com>

* Remove inheritance from IOpenApiReadOnlyContentElement

revert commit 7758a81

* Update src/Microsoft.OpenApi/Models/Interfaces/IOpenApiContentElement.cs

Co-authored-by: Vincent Biret <vincentbiret@hotmail.com>

* test(publicapi): approve content interface surface

---------

Co-authored-by: Vincent Biret <vincentbiret@hotmail.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
75.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@baywet
Vincent Biret (baywet) merged commit 338566f into support/v2 Jan 21, 2026
15 of 16 checks passed
@baywet
Vincent Biret (baywet) deleted the feat/content-interface-to-v2 branch January 21, 2026 17:55
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