1
我已將項目升級爲使用ServiceStack的最新版本,並使用OpenApiFeature而不是SwaggerFeature。ServiceStack OpenAPI路由/標記說明
我在RouteSummary中指定的描述用於在Swagger中顯示,但在OpenApi下它們似乎不受尊重。有沒有新的地方,或者我在配置中丟失了什麼?
Plugins.Add(new OpenApiFeature
{
RouteSummary = {
{ "/clubs", "Customer club lookups" },
{ "/customers", "Customer demographics, receipts and transactions" },
{ "/dates", "Fiscal date breakdowns" }
}
});
感謝您爲此加快支持。你真棒! – Connor