You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simply create a newest NET 9 aspnetcore webapi, then add Microsoft.AspNetCore.OpenApi and Scalar.AspNetCore. Then add a new Controller without [ApiController], this contoller's actions won't be included in openapi json
Expected Behavior
Controllers without [ApiController] should be included in openapi json
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
NET 9
Anything else?
No response
The text was updated successfully, but these errors were encountered:
The reason to not use the [ApiController] is : Need manual validate some form fields, or api parameters in Project
OpenApi won't Contains those Controllers If the Controller not starts with [ApiController] Attribute
Is there an existing issue for this?
Describe the bug
Simply create a newest NET 9 aspnetcore webapi, then add
Microsoft.AspNetCore.OpenApi
andScalar.AspNetCore
. Then add a new Controller without [ApiController], this contoller's actions won't be included in openapi jsonExpected Behavior
Controllers without [ApiController] should be included in openapi json
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
NET 9
Anything else?
No response
The text was updated successfully, but these errors were encountered: