Player data initial

This commit is contained in:
2021-10-26 00:26:52 -04:00
parent ab8937f7cd
commit 7b73d23b9e
8 changed files with 80 additions and 40 deletions

View File

@@ -26,7 +26,7 @@ namespace TOOHUCardAPI
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers();
services.AddControllers().AddNewtonsoftJson();
services.AddSwaggerGen(c =>
{
c.SwaggerDoc("v1", new OpenApiInfo {Title = "TOOHUCardAPI", Version = "v1"});