Skip to content

Conversation

@baywet
Copy link
Member

@baywet baywet commented Jan 21, 2026

port of #2695

feat(models): add shared Content interface

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

Co-authored-by: Vincent Biret <[email protected]>

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

Co-authored-by: Vincent Biret <[email protected]>

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

Co-authored-by: Vincent Biret <[email protected]>

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

Co-authored-by: Vincent Biret <[email protected]>

* Remove inheritance from IOpenApiReadOnlyContentElement

revert commit 7758a81

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

Co-authored-by: Vincent Biret <[email protected]>

* test(publicapi): approve content interface surface

---------

Co-authored-by: Vincent Biret <[email protected]>
Signed-off-by: Vincent Biret <[email protected]>
@baywet baywet requested a review from a team as a code owner January 21, 2026 17:33
@baywet baywet self-assigned this Jan 21, 2026
@baywet baywet enabled auto-merge January 21, 2026 17:33
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

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

See analysis details on SonarQube Cloud

@baywet baywet merged commit 338566f into support/v2 Jan 21, 2026
15 of 16 checks passed
@baywet 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.

4 participants