yuka1984 / azure-functions-extensions-swashbuckle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configure Openapi 2

Edu-NMIND opened this issue · comments

Swashbuckle allows us to generate both openapi 2 and 3 docs. Is there a way of generating openapi 2? Example code on Swashbuckle docs:

app.UseSwagger(c =>
{
    c.SerializeAsV2 = true;
});

TIA