-
Notifications
You must be signed in to change notification settings - Fork 17
Feature/rate function #1082
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Feature/rate function #1082
Conversation
endpoint adds rate/reverse rate options for both value arrays and time series id inputs
import java.time.Instant; | ||
import java.util.Optional; | ||
|
||
@FormattableWith(contentType = Formats.JSONV1, formatter = JsonV1.class, aliases = {Formats.DEFAULT, Formats.JSON}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, I know this hasn't been official merged in yet, but I don't think anyone had a major issue with the following as the general rule for "data type versioning": https://github.com/USACE/cwms-data-api/pull/959/files#diff-9f37666d47127d069db9e7ef0915049a7d4f4cfafe03f30ddc015ef3c2f3f1ddR1
the aliases are still correct with the above, we've just been overusing JSONV1 vs JSONV2
I don't see rate limiting at this time. I assume that will be done before the PR is marked as ready for review? |
Fixes #641