openAPI Document Generation doesn't include endpoints outside of Program.cs #59570
Labels
area-minimal
Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc
feature-openapi
Hey there,
I've already mentioned it here (For reference). I'm facing an Issue where Endpoints, which are registered outside of the Program.cs don't get included in the generated
.json
file.I've created a Repo for reproduction, you can find it here on Github.
Dotnet-Version: 9.0.101
The generated .json File looks like this, which is missing the endpoints in the
Todo.cs
file.The text was updated successfully, but these errors were encountered: