-
Notifications
You must be signed in to change notification settings - Fork 0
chore: regenerate client from updated OpenAPI spec #14
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
Closed
Closed
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,3 @@ | ||
| /target | ||
| /target/ | ||
| **/*.rs.bk | ||
| Cargo.lock |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,182 @@ | ||
| .gitignore | ||
| Cargo.toml | ||
| docs/ApiErrorDetail.md | ||
| docs/ApiErrorResponse.md | ||
| docs/BooleanProfileDetail.md | ||
| docs/CategoricalProfileDetail.md | ||
| docs/CategoryValueInfo.md | ||
| docs/ColumnInfo.md | ||
| docs/ColumnProfileDetail.md | ||
| docs/ColumnProfileDetailOneOf.md | ||
| docs/ColumnProfileDetailOneOf1.md | ||
| docs/ColumnProfileDetailOneOf2.md | ||
| docs/ColumnProfileDetailOneOf3.md | ||
| docs/ColumnProfileDetailOneOf4.md | ||
| docs/ColumnProfileInfo.md | ||
| docs/ColumnTypeSpec.md | ||
| docs/ConnectionHealthResponse.md | ||
| docs/ConnectionInfo.md | ||
| docs/ConnectionRefreshResult.md | ||
| docs/ConnectionSchemaError.md | ||
| docs/ConnectionsApi.md | ||
| docs/CreateConnectionRequest.md | ||
| docs/CreateConnectionResponse.md | ||
| docs/CreateDatasetRequest.md | ||
| docs/CreateDatasetResponse.md | ||
| docs/CreateSavedQueryRequest.md | ||
| docs/CreateSecretRequest.md | ||
| docs/CreateSecretResponse.md | ||
| docs/CreateWorkspaceRequest.md | ||
| docs/CreateWorkspaceResponse.md | ||
| docs/DatasetSource.md | ||
| docs/DatasetSummary.md | ||
| docs/DatasetsApi.md | ||
| docs/DiscoveryStatus.md | ||
| docs/Error.md | ||
| docs/ExecuteSavedQueryRequest.md | ||
| docs/GetConnectionResponse.md | ||
| docs/GetDatasetResponse.md | ||
| docs/GetResultResponse.md | ||
| docs/GetSecretResponse.md | ||
| docs/InformationSchemaApi.md | ||
| docs/InformationSchemaResponse.md | ||
| docs/InlineData.md | ||
| docs/InlineDatasetSource.md | ||
| docs/ListConnectionsResponse.md | ||
| docs/ListDatasetsResponse.md | ||
| docs/ListQueryRunsResponse.md | ||
| docs/ListResultsResponse.md | ||
| docs/ListSavedQueriesResponse.md | ||
| docs/ListSavedQueryVersionsResponse.md | ||
| docs/ListSecretsResponse.md | ||
| docs/ListUploadsResponse.md | ||
| docs/ListWorkspacesResponse.md | ||
| docs/NumericProfileDetail.md | ||
| docs/QueryApi.md | ||
| docs/QueryRequest.md | ||
| docs/QueryResponse.md | ||
| docs/QueryRunInfo.md | ||
| docs/QueryRunsApi.md | ||
| docs/RefreshApi.md | ||
| docs/RefreshRequest.md | ||
| docs/RefreshResponse.md | ||
| docs/RefreshWarning.md | ||
| docs/ResultInfo.md | ||
| docs/ResultsApi.md | ||
| docs/SavedQueriesApi.md | ||
| docs/SavedQueryDetail.md | ||
| docs/SavedQuerySummary.md | ||
| docs/SavedQueryVersionInfo.md | ||
| docs/SchemaRefreshResult.md | ||
| docs/SecretMetadataResponse.md | ||
| docs/SecretsApi.md | ||
| docs/TableInfo.md | ||
| docs/TableProfileResponse.md | ||
| docs/TableRefreshError.md | ||
| docs/TableRefreshResult.md | ||
| docs/TemporalProfileDetail.md | ||
| docs/TextProfileDetail.md | ||
| docs/UpdateDatasetRequest.md | ||
| docs/UpdateDatasetResponse.md | ||
| docs/UpdateSavedQueryRequest.md | ||
| docs/UpdateSecretRequest.md | ||
| docs/UpdateSecretResponse.md | ||
| docs/UploadDatasetSource.md | ||
| docs/UploadInfo.md | ||
| docs/UploadResponse.md | ||
| docs/UploadsApi.md | ||
| docs/WorkspaceDetail.md | ||
| docs/WorkspaceListItem.md | ||
| docs/WorkspacesApi.md | ||
| src/apis/configuration.rs | ||
| src/apis/connections_api.rs | ||
| src/apis/datasets_api.rs | ||
| src/apis/information_schema_api.rs | ||
| src/apis/mod.rs | ||
| src/apis/query_api.rs | ||
| src/apis/query_runs_api.rs | ||
| src/apis/refresh_api.rs | ||
| src/apis/results_api.rs | ||
| src/apis/saved_queries_api.rs | ||
| src/apis/secrets_api.rs | ||
| src/apis/uploads_api.rs | ||
| src/apis/workspaces_api.rs | ||
| src/lib.rs | ||
| src/models/api_error_detail.rs | ||
| src/models/api_error_response.rs | ||
| src/models/boolean_profile_detail.rs | ||
| src/models/categorical_profile_detail.rs | ||
| src/models/category_value_info.rs | ||
| src/models/column_info.rs | ||
| src/models/column_profile_detail.rs | ||
| src/models/column_profile_detail_one_of.rs | ||
| src/models/column_profile_detail_one_of_1.rs | ||
| src/models/column_profile_detail_one_of_2.rs | ||
| src/models/column_profile_detail_one_of_3.rs | ||
| src/models/column_profile_detail_one_of_4.rs | ||
| src/models/column_profile_info.rs | ||
| src/models/column_type_spec.rs | ||
| src/models/connection_health_response.rs | ||
| src/models/connection_info.rs | ||
| src/models/connection_refresh_result.rs | ||
| src/models/connection_schema_error.rs | ||
| src/models/create_connection_request.rs | ||
| src/models/create_connection_response.rs | ||
| src/models/create_dataset_request.rs | ||
| src/models/create_dataset_response.rs | ||
| src/models/create_saved_query_request.rs | ||
| src/models/create_secret_request.rs | ||
| src/models/create_secret_response.rs | ||
| src/models/create_workspace_request.rs | ||
| src/models/create_workspace_response.rs | ||
| src/models/dataset_source.rs | ||
| src/models/dataset_summary.rs | ||
| src/models/discovery_status.rs | ||
| src/models/error.rs | ||
| src/models/execute_saved_query_request.rs | ||
| src/models/get_connection_response.rs | ||
| src/models/get_dataset_response.rs | ||
| src/models/get_result_response.rs | ||
| src/models/get_secret_response.rs | ||
| src/models/information_schema_response.rs | ||
| src/models/inline_data.rs | ||
| src/models/inline_dataset_source.rs | ||
| src/models/list_connections_response.rs | ||
| src/models/list_datasets_response.rs | ||
| src/models/list_query_runs_response.rs | ||
| src/models/list_results_response.rs | ||
| src/models/list_saved_queries_response.rs | ||
| src/models/list_saved_query_versions_response.rs | ||
| src/models/list_secrets_response.rs | ||
| src/models/list_uploads_response.rs | ||
| src/models/list_workspaces_response.rs | ||
| src/models/mod.rs | ||
| src/models/numeric_profile_detail.rs | ||
| src/models/query_request.rs | ||
| src/models/query_response.rs | ||
| src/models/query_run_info.rs | ||
| src/models/refresh_request.rs | ||
| src/models/refresh_response.rs | ||
| src/models/refresh_warning.rs | ||
| src/models/result_info.rs | ||
| src/models/saved_query_detail.rs | ||
| src/models/saved_query_summary.rs | ||
| src/models/saved_query_version_info.rs | ||
| src/models/schema_refresh_result.rs | ||
| src/models/secret_metadata_response.rs | ||
| src/models/table_info.rs | ||
| src/models/table_profile_response.rs | ||
| src/models/table_refresh_error.rs | ||
| src/models/table_refresh_result.rs | ||
| src/models/temporal_profile_detail.rs | ||
| src/models/text_profile_detail.rs | ||
| src/models/update_dataset_request.rs | ||
| src/models/update_dataset_response.rs | ||
| src/models/update_saved_query_request.rs | ||
| src/models/update_secret_request.rs | ||
| src/models/update_secret_response.rs | ||
| src/models/upload_dataset_source.rs | ||
| src/models/upload_info.rs | ||
| src/models/upload_response.rs | ||
| src/models/workspace_detail.rs | ||
| src/models/workspace_list_item.rs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 7.20.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,14 +1,21 @@ | ||||||
| [package] | ||||||
| name = "hotdata" | ||||||
| version = "0.1.0" | ||||||
| edition = "2024" | ||||||
| description = "Rust client for the HotData API" | ||||||
| license = "MIT" | ||||||
| version = "1.0.0" | ||||||
| authors = ["OpenAPI Generator team and contributors"] | ||||||
| description = "Powerful data platform API for datasets, queries, and analytics." | ||||||
| # Override this license by providing a License Object in the OpenAPI. | ||||||
| license = "Unlicense" | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1 — Unintentional license change. The generator template defaults to
Suggested change
|
||||||
| edition = "2021" | ||||||
|
|
||||||
| [dependencies] | ||||||
| reqwest = { version = "0.12", features = ["json"] } | ||||||
| serde = { version = "1", features = ["derive"] } | ||||||
| serde_json = "1" | ||||||
| tokio = { version = "1", features = ["full"] } | ||||||
| thiserror = "2" | ||||||
| url = "2" | ||||||
| serde = { version = "^1.0", features = ["derive"] } | ||||||
| serde_with = { version = "^3.8", default-features = false, features = ["base64", "std", "macros"] } | ||||||
| serde_json = "^1.0" | ||||||
| serde_repr = "^0.1" | ||||||
| url = "^2.5" | ||||||
| reqwest = { version = "^0.13", default-features = false, features = ["json", "multipart", "query", "form"] } | ||||||
|
|
||||||
| [features] | ||||||
| default = ["native-tls"] | ||||||
| native-tls = ["reqwest/native-tls"] | ||||||
| rustls = ["reqwest/rustls"] | ||||||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # ApiErrorDetail | ||
|
|
||
| ## Properties | ||
|
|
||
| Name | Type | Description | Notes | ||
| ------------ | ------------- | ------------- | ------------- | ||
| **code** | **String** | | | ||
| **message** | **String** | | | ||
|
|
||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # ApiErrorResponse | ||
|
|
||
| ## Properties | ||
|
|
||
| Name | Type | Description | Notes | ||
| ------------ | ------------- | ------------- | ------------- | ||
| **error** | [**models::ApiErrorDetail**](ApiErrorDetail.md) | | | ||
|
|
||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # BooleanProfileDetail | ||
|
|
||
| ## Properties | ||
|
|
||
| Name | Type | Description | Notes | ||
| ------------ | ------------- | ------------- | ------------- | ||
| **false_count** | **i64** | Number of false values | | ||
| **true_count** | **i64** | Number of true values | | ||
|
|
||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # CategoricalProfileDetail | ||
|
|
||
| ## Properties | ||
|
|
||
| Name | Type | Description | Notes | ||
| ------------ | ------------- | ------------- | ------------- | ||
| **values** | [**Vec<models::CategoryValueInfo>**](CategoryValueInfo.md) | Distinct values with their counts, ordered by count descending | | ||
|
|
||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # CategoryValueInfo | ||
|
|
||
| ## Properties | ||
|
|
||
| Name | Type | Description | Notes | ||
| ------------ | ------------- | ------------- | ------------- | ||
| **count** | **i64** | Number of occurrences | | ||
| **value** | Option<**String**> | The distinct value (as a string, or null) | [optional] | ||
|
|
||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # ColumnInfo | ||
|
|
||
| ## Properties | ||
|
|
||
| Name | Type | Description | Notes | ||
| ------------ | ------------- | ------------- | ------------- | ||
| **data_type** | **String** | | | ||
| **name** | **String** | | | ||
| **nullable** | **bool** | | | ||
|
|
||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| # ColumnProfileDetail | ||
|
|
||
| ## Enum Variants | ||
|
|
||
| | Name | Description | | ||
| |---- | -----| | ||
| | ColumnProfileDetailOneOf | | | ||
| | ColumnProfileDetailOneOf1 | | | ||
| | ColumnProfileDetailOneOf2 | | | ||
| | ColumnProfileDetailOneOf3 | | | ||
| | ColumnProfileDetailOneOf4 | | | ||
|
|
||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # ColumnProfileDetailOneOf | ||
|
|
||
| ## Properties | ||
|
|
||
| Name | Type | Description | Notes | ||
| ------------ | ------------- | ------------- | ------------- | ||
| **values** | [**Vec<models::CategoryValueInfo>**](CategoryValueInfo.md) | Distinct values with their counts, ordered by count descending | | ||
| **r#type** | **Type** | (enum: categorical) | | ||
|
|
||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # ColumnProfileDetailOneOf1 | ||
|
|
||
| ## Properties | ||
|
|
||
| Name | Type | Description | Notes | ||
| ------------ | ------------- | ------------- | ------------- | ||
| **avg_length** | **f64** | Average string length | | ||
| **max_length** | **i64** | Longest string length in the column | | ||
| **min_length** | **i64** | Shortest string length in the column | | ||
| **r#type** | **Type** | (enum: text) | | ||
|
|
||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # ColumnProfileDetailOneOf2 | ||
|
|
||
| ## Properties | ||
|
|
||
| Name | Type | Description | Notes | ||
| ------------ | ------------- | ------------- | ------------- | ||
| **max** | **String** | Maximum value (string to preserve precision for large integers and decimals) | | ||
| **mean** | **f64** | Arithmetic mean | | ||
| **min** | **String** | Minimum value (string to preserve precision for large integers and decimals) | | ||
| **r#type** | **Type** | (enum: numeric) | | ||
|
|
||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # ColumnProfileDetailOneOf3 | ||
|
|
||
| ## Properties | ||
|
|
||
| Name | Type | Description | Notes | ||
| ------------ | ------------- | ------------- | ------------- | ||
| **max** | **String** | Latest value as ISO-8601 string | | ||
| **min** | **String** | Earliest value as ISO-8601 string | | ||
| **r#type** | **Type** | (enum: temporal) | | ||
|
|
||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # ColumnProfileDetailOneOf4 | ||
|
|
||
| ## Properties | ||
|
|
||
| Name | Type | Description | Notes | ||
| ------------ | ------------- | ------------- | ------------- | ||
| **false_count** | **i64** | Number of false values | | ||
| **true_count** | **i64** | Number of true values | | ||
| **r#type** | **Type** | (enum: boolean) | | ||
|
|
||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
|
||
|
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Generator default — should be removed or replaced with the actual project author(s). Publishing with
"OpenAPI Generator team and contributors"is misleading.