From 7d563331e3c8e8ed986aa742b09ba9c3f89cfbbd Mon Sep 17 00:00:00 2001 From: dmolinari Date: Sat, 7 Mar 2026 19:27:53 -0300 Subject: [PATCH] feat: agregar clima extremo SuperScorching --- .../Controllers/WeatherForecastController.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ApiVersioningDemo.Api/Controllers/WeatherForecastController.cs b/ApiVersioningDemo.Api/Controllers/WeatherForecastController.cs index 5d1bdd2..ee9ebfe 100644 --- a/ApiVersioningDemo.Api/Controllers/WeatherForecastController.cs +++ b/ApiVersioningDemo.Api/Controllers/WeatherForecastController.cs @@ -9,9 +9,8 @@ namespace ApiVersioningDemo.Api.Controllers; [Route("api/v{version:apiVersion}/[controller]")] // 2. Modificamos la ruta para obligar a usar "api/v1/..." public class WeatherForecastController : ControllerBase { - private static readonly string[] Summaries = - [ - "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" + private static readonly string[] Summaries = [ + "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching", "SuperScorching" ]; [HttpGet(Name = "GetWeatherForecast")] -- 2.49.1