Skip to content
Discussion options

You must be logged in to vote

Indeed, you are no longer meant to use builder.Services.AddOpenApi(). It is not API version-aware and, unfortunately, the design does not provide for reasonable extensibility. I've had few conversations with Microsoft and there's no simple way around it. I've had to resort to a bunch of Reflection hackery that will be addressed in .NET 11.

One of the key pain points I brought up with the ASP.NET team is the XML Comments support. It was been hacked together and is deeply coupled with Microsoft.AspNetCore.OpenApi, when it shouldn't be IMHO. In fact, there is a larger need that there should an official, general purpose XML Comment library to facilitate such things, but there isn't. The team …

Replies: 1 comment 3 replies

Comment options

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

@commonsensesoftware
Comment options

@commonsensesoftware
Comment options

Answer selected by KPHIBYE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants