-
Notifications
You must be signed in to change notification settings - Fork 16
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
Typing Inconsistency for "v1.SearchSLOResponse" on GET /api/v1/slo endpoints #1461
Comments
Hi, Do you have a reproducible example? Models are creating camelCase properties, which are available in my testing. Here is what I run:
Thanks. |
Hey @therve So that example you provided works for you? Because if asked that's the example I would provide. For me There are similar (but unrelated) issues like this throughout. For example, on the POST endpoint to create embedded graphs - the "size" parameter is an enum of strings (by fact and documentation) but vscode is saying it should be a |
Yes that example work for me. What's your typescript version? The embedded graphs doesn't generate clients. so it's a different issue indeed. |
5.0.4, Admittedly a few behind. Maybe this was solved already? |
Thanks for your contribution! This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community. If you would like this issue to remain open:
|
Describe the bug
Bad key typing on the
v1.SearchSLOResponse
typescript type for GET /api/v1/slo/search. Proper response type is insnake_case
while intellisense suggestscamelCase
for the property type.Example 1:
Example 2:
To Reproduce
https://api.datadoghq.com/api/v1/slo/search
v1.SearchSLOResponse
Expected behavior
snake_case
suggestion.Screenshots
Environment and Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: