chore: import Musify.WebApi into monorepo (preserving history)
git-subtree-dir: Musify.WebApi git-subtree-mainline:9d433868ccgit-subtree-split:ca8750c3b4
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using Microsoft.AspNetCore.OpenApi;
|
||||
|
||||
namespace WebApi.OpenApi;
|
||||
|
||||
public static class OpenApiExtensions
|
||||
{
|
||||
public static IServiceCollection AddOpenApiConfiguration(this IServiceCollection services)
|
||||
{
|
||||
services.AddOpenApi();
|
||||
services.ConfigureOptions<OpenApiOptionsSetup>();
|
||||
|
||||
return services;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user