bundesAPI / dwd-api

https://dwd.api.bund.dev/
93 stars 9 forks source link

Rename parameter stationIds to stationsKennungen #10

Closed VeitSanner closed 2 years ago

VeitSanner commented 2 years ago

The parameter stationIds requires the client to provide values from the column Stationskennung. Hence, the parameter should be renamed so that the parameter name reflects the expected values.

In this first step, I have marked the parameter stationIds with deprecated: true and adopted the description to explain that the parameter will be removed in a future version. A new parameter stationsKennungen is introduced which has the same definition as stationsIds.

By marking stationsIds as deprecated, clients have a smoother transition to the new parameter stationsKennungen.

Resolves #7