@neaps/api 0.4.0
Release Tides & Currents
Add configurable route prefix support to
createApp(). (#229)Routes are now defined without a prefix (e.g.
/extremes,/stations) and mounted at a configurableprefixoption (defaults to/tidesfor backward compatibility). Also adds a root/endpoint returning API info, and the OpenAPI spec now includes aserversfield reflecting the configured prefix.Add support for subordinate station predictions in the API. (#227)
GET /tides/timelineandGET /tides/waterlevelnow return predictions for subordinate stations instead of a 400 error.