Remove sample 'weather' endpoint
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
using Hutopy.Application.WeatherForecasts.Queries.GetWeatherForecasts;
|
||||
|
||||
namespace Hutopy.Web.Endpoints;
|
||||
|
||||
public class WeatherForecasts : EndpointGroupBase
|
||||
{
|
||||
public override void Map(WebApplication app)
|
||||
{
|
||||
app.MapGroup(this)
|
||||
.RequireAuthorization()
|
||||
.MapGet(GetWeatherForecasts);
|
||||
}
|
||||
|
||||
private static async Task<IEnumerable<WeatherForecast>> GetWeatherForecasts(ISender sender)
|
||||
{
|
||||
return await sender.Send(new GetWeatherForecastsQuery());
|
||||
}
|
||||
}
|
||||
@@ -38,12 +38,6 @@ Content-Type: application/json
|
||||
|
||||
###
|
||||
|
||||
# GET WeatherForecast
|
||||
GET {{base_url}}/api/WeatherForecasts
|
||||
Authorization: Bearer {{auth_token}}
|
||||
|
||||
###
|
||||
|
||||
# GET GetMyUser
|
||||
GET {{base_url}}/api/GetMyUser
|
||||
Authorization: Bearer {{auth_token}}
|
||||
|
||||
Reference in New Issue
Block a user