sdk-codegen
sdk-codegen copied to clipboard
One SDK to rule them all, and in the codegen bind them
All the API calls in the GO mapping take an argument `rtl.ApiSettings` that contains a timeout. However, when I inspect the code it looks that the argument is not consulted,...
Currently, go sdk model generation doesn't support union type `interface{}`for results, so we cannot parse according to Content Type Header. For now, it parses based off result type. https://github.com/looker-open-source/sdk-codegen/pull/1021 Take...
## 👋👋 Thank you for contributing to Looker sdk-codegen (⚡️🍣) 📺 Watch a quick video on how to you make your pull requests fast and easy for you and your...
When running validate on the 4.0 spec files it fails with the error ``` openapi-generator validate -i spec/Looker.4.0.oas.json Validating spec (spec/Looker.4.0.oas.json) Errors: - attribute paths.'/models/{model_name}/views/{view_name}/fields/{field_name}/suggestions'(get).parameters.[filters].additionalProperties is unexpected [error] Spec has...
…o dashboard elements (#818) * Pushing new_dashboard_filter to remote * Adding example to create_dashboard_filter, fixes 816 * Rename dashboard_filter file * add new line at end of file * Fixing...
* Adding a script to programmatically update Looker projects to use main as their default branch Co-authored-by: Joel Dodge Co-authored-by: Dr. Strangelove
The Response tab now shows the full request URL, not including the request body (which can't be included in this scenario) # Screenshots   
This change introduces a new `APIError` class (inheriting from SDKError) which takes one argument of the `api_response` which should be the JSON payload from the Looker endpoint. This gets loaded...
The goals of this PR are twofold: - Improve the handling of errors - Improve the typing of responses This mostly revoles around replacing SDKResponse with SdkResult. This allows us...