Skip to content

Excluding endpoints from OpenAPI document when using controllers #57422

Closed Answered by martincostello
davidkarlsson asked this question in Q&A
Discussion options

You must be logged in to vote

Yep, I get that it's Controllers not Minimal APIs (which is what I'm using), but I would have thought that the OpenApi functionality would just be consuming the endpoint metadata in the same way and as they both use the same type, then they both should work.

Either way, I think this is a bug given that the Minimal APIs is using the same attribute to signify that it shouldn't be documented.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@davidkarlsson
Comment options

@martincostello
Comment options

Answer selected by davidkarlsson
@davidkarlsson
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
feature-openapi area-web-frameworks *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
2 participants