Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Types that have been filtered out still get into the schema #2631

Closed
AntonC9018 opened this issue Apr 12, 2023 · 3 comments
Closed

Types that have been filtered out still get into the schema #2631

AntonC9018 opened this issue Apr 12, 2023 · 3 comments
Labels
needs investigation stale Stale issues or pull requests

Comments

@AntonC9018
Copy link

I'm not completely sure if it's a bug, or it's like this by design, but it certainly feels strange to me.

Say, I inject a parameter via a custom ModelBinder attribute. Then I explicitly filter it out in an IOperationFilter. Now, none of the endpoints know about it, yet it still ends up in the schema.

See a minimal repro / example here.

Copy link
Contributor

This issue is stale because it has been open for 60 days with no activity. It will be automatically closed in 14 days if no further updates are made.

@github-actions github-actions bot added the stale Stale issues or pull requests label Jun 23, 2024
@martincostello martincostello removed the stale Stale issues or pull requests label Jun 23, 2024
Copy link
Contributor

This issue is stale because it has been open for 60 days with no activity. It will be automatically closed in 14 days if no further updates are made.

@github-actions github-actions bot added the stale Stale issues or pull requests label Aug 23, 2024
Copy link
Contributor

github-actions bot commented Sep 6, 2024

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs investigation stale Stale issues or pull requests
Projects
None yet
Development

No branches or pull requests

2 participants