我找不到这个方法AddVersionedApiExplorer在Asp.Versioning.Mvc.ApiExplorer的核心6版本中配置swagger。使用这个版本库配置swagger的新方法是什么?
发布于 2022-09-05 16:26:11
似乎该方法已被移除,但没有说明原因。
在github中找到了这个评论,这似乎是处理它的新方法。
services
.AddApiVersioning()
.AddApiExplorer();https://github.com/OData/AspNetCoreOData/issues/480#issuecomment-1094107292
https://stackoverflow.com/questions/73586503
复制相似问题