Skip to content

Conversation

desjoerd
Copy link
Contributor

@desjoerd desjoerd commented Sep 9, 2025

OpenAPI: Remove workspace component registration

It can be removed because it's not required and not the correct location to be able to resolved, causing duplicate schema registrations in the workspace.

Fixes #63598

It can be removed because it's not required and not the correct location to be able to resolved, causing duplicate schema registrations in the workspace.
@github-actions github-actions bot added the needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically label Sep 9, 2025
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Sep 9, 2025
Copy link
Contributor

Thanks for your PR, @@desjoerd. Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@martincostello martincostello added feature-openapi area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc and removed needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically labels Sep 9, 2025
@desjoerd
Copy link
Contributor Author

desjoerd commented Sep 9, 2025

This PR probably requires some unit tests etc. It really depends on the direction on using the Workspace feature of OpenAPI.NET.

It currently serves as a Proof of Concept that it doesn't break when removing registering schemas in the workspace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc community-contribution Indicates that the PR has been added by a community member feature-openapi
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenAPI: document.Workspace has schemas duplicated
2 participants