Skip to content

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

Draft
wants to merge 8 commits into
base: develop
Choose a base branch
from
Draft

Feature/rate function #1082

wants to merge 8 commits into from

Conversation

adamkorynta
Copy link
Collaborator

Fixes #641

import java.time.Instant;
import java.util.Optional;

@FormattableWith(contentType = Formats.JSONV1, formatter = JsonV1.class, aliases = {Formats.DEFAULT, Formats.JSON})
Copy link
Contributor

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

@MikeNeilson
Copy link
Contributor

I don't see rate limiting at this time. I assume that will be done before the PR is marked as ready for review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a Rate Endpoint
2 participants