Skip to content

Commit

Permalink
Removing the usage of swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
Edrisym committed Nov 3, 2024
1 parent 5f107ae commit dfea7e8
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,7 @@
builder.Services.AddScoped<IOAuthService, OAuthService>();

var app = builder.Build();



app.UseSwagger();
app.UseSwaggerUI();

app.UseCors("AllowAll");
app.UseHttpsRedirection();

app.UseAuthorization();

// app.MapPost(@"test/route", (EventModel model, IGoogleCalendarService _service) =>
// {
// var createdEvent = _service.CreateEvent(model);
// return createdEvent;
// });
app.UseRouting();
app.MapControllers();

app.Run();

0 comments on commit dfea7e8

Please sign in to comment.