@@ -35,14 +35,14 @@ netgen_openweather_weather_by_zip_code:
3535 countryCode : \w+
3636
3737netgen_openweather_weather_by_rectangle_zone :
38- path : /netgen/openweather/weather/rectanglezone/{longitudeLeft}/{latitudeBottom}/{logitudeRight }/{latitudeTop}/{mapZoom}/{cluster}
38+ path : /netgen/openweather/weather/rectanglezone/{longitudeLeft}/{latitudeBottom}/{longitudeRight }/{latitudeTop}/{mapZoom}/{cluster}
3939 defaults : { _controller: 'netgen_open_weather_map.controller.weather:byRectangleZone', mapZoom: 10, cluster: 'yes' }
4040 methods :
4141 - GET
4242 requirements :
4343 longitudeLeft : \d+
4444 latitudeBottom : \d+
45- logitudeRight : \d+
45+ longitudeRight : \d+
4646 latitudeTop : \d+
4747 mapZoom : \d+
4848 cluster : \w+
@@ -52,11 +52,11 @@ netgen_openweather_weather_by_circle:
5252 defaults : { _controller: 'netgen_open_weather_map.controller.weather:byCircle' }
5353 methods :
5454 - GET
55- requirements :
56- latitude : \d+
57- longitude : \d+
58- cluster : \w+
59- numberOfCities : \d+
55+ # requirements:
56+ # latitude: '\[d\.]+'
57+ # longitude: '\[d\.]+'
58+ # cluster: \w+
59+ # numberOfCities: \d+
6060
6161netgen_openweather_weather_by_city_ids :
6262 path : /netgen/openweather/weather/cityids
@@ -112,7 +112,7 @@ netgen_openweather_weather_stations_station:
112112
113113netgen_openweather_weather_stations_stations_rectangle :
114114 path : /netgen/openweather/weatherstations/stationsrectangle/{longitudeTopLeft}/{latitudeTopLeft}/{longitudeBottomRight}/{latitudeBottomRight}/{mapZoom}/{cluster}/{numberOfStations}
115- defaults : { _controller: 'netgen_open_weather_map.controller.weather_stations:getFromSeveralByRectangleZone', cluster = 'yes', numberOfStations = 10 }
115+ defaults : { _controller: 'netgen_open_weather_map.controller.weather_stations:getFromSeveralByRectangleZone', cluster: 'yes', numberOfStations: 10 }
116116 methods :
117117 - GET
118118 requirements :
@@ -126,7 +126,7 @@ netgen_openweather_weather_stations_stations_rectangle:
126126
127127netgen_openweather_weather_stations_stations_geopoint :
128128 path : /netgen/openweather/weatherstations/stationsgeopoint/{latitude}/{longitude}/{numberOfStations}
129- defaults : { _controller: 'netgen_open_weather_map.controller.weather_stations:getFromSeveralByGeoPoint', numberOfStations = 10 }
129+ defaults : { _controller: 'netgen_open_weather_map.controller.weather_stations:getFromSeveralByGeoPoint', numberOfStations: 10 }
130130 methods :
131131 - GET
132132 requirements :
@@ -138,7 +138,7 @@ netgen_openweather_weather_stations_stations_geopoint:
138138# DailyForecastController routes
139139netgen_openweather_weather_daily_forecast_city_name :
140140 path : /netgen/openweather/dailyforecast/cityname/{cityName}/{numberOfDays}/{countryCode}
141- defaults : { _controller: 'netgen_open_weather_map.controller.daily_forecast:getForecastByCityName', numberOfDays = 16, countryCode = '' }
141+ defaults : { _controller: 'netgen_open_weather_map.controller.daily_forecast:getForecastByCityName', numberOfDays: 16, countryCode: '' }
142142 methods :
143143 - GET
144144 requirements :
@@ -148,7 +148,7 @@ netgen_openweather_weather_daily_forecast_city_name:
148148
149149netgen_openweather_weather_daily_forecast_city_id :
150150 path : /netgen/openweather/dailyforecast/cityid/{cityId}/{numberOfDays}
151- defaults : { _controller: 'netgen_open_weather_map.controller.daily_forecast:getForecastByCityId', numberOfDays = 16 }
151+ defaults : { _controller: 'netgen_open_weather_map.controller.daily_forecast:getForecastByCityId', numberOfDays: 16 }
152152 methods :
153153 - GET
154154 requirements :
@@ -158,7 +158,7 @@ netgen_openweather_weather_daily_forecast_city_id:
158158
159159netgen_openweather_weather_daily_forecast_geographic_coordinates :
160160 path : /netgen/openweather/dailyforecast/geocoords/{latitude}/{longitude}/{numberOfDays}
161- defaults : { _controller: 'netgen_open_weather_map.controller.daily_forecast:getForecastByCityGeographicCoordinates', numberOfDays = 16 }
161+ defaults : { _controller: 'netgen_open_weather_map.controller.daily_forecast:getForecastByCityGeographicCoordinates', numberOfDays: 16 }
162162 methods :
163163 - GET
164164 requirements :
@@ -170,7 +170,7 @@ netgen_openweather_weather_daily_forecast_geographic_coordinates:
170170# HourForecastController
171171netgen_openweather_weather_hour_forecast_city_name :
172172 path : /netgen/openweather/hourforecast/cityname/{cityName}/{countryCode}
173- defaults : { _controller: 'netgen_open_weather_map.controller.hour_forecast:getForecastByCityName', countryCode = '' }
173+ defaults : { _controller: 'netgen_open_weather_map.controller.hour_forecast:getForecastByCityName', countryCode: '' }
174174 methods :
175175 - GET
176176 requirements :
0 commit comments