Skip to content

Rule: all nested objects in arrays must be defined on top-level #279

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

Merged
merged 10 commits into from
Feb 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.4.1.dev2",
"regenerated": "2021-02-12 15:11:23.196252",
"spec_repo_commit": "3ee9214"
"regenerated": "2021-02-15 11:13:29.194568",
"spec_repo_commit": "ef83c8b"
},
"v2": {
"apigentools_version": "1.4.1.dev2",
"regenerated": "2021-02-12 15:12:00.545596",
"spec_repo_commit": "3ee9214"
"regenerated": "2021-02-15 11:14:09.565676",
"spec_repo_commit": "ef83c8b"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# AWSLogsAsyncResponseErrors
# AWSLogsAsyncError

Description of errors.
## Properties
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/AWSLogsAsyncResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A list of all Datadog-AWS logs integrations available in your Datadog organizati
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**errors** | [**[AWSLogsAsyncResponseErrors]**](AWSLogsAsyncResponseErrors.md) | List of errors. | [optional]
**errors** | [**[AWSLogsAsyncError]**](AWSLogsAsyncError.md) | List of errors. | [optional]
**status** | **str** | Status of the properties. | [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)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# AWSLogsListResponseLambdas
# AWSLogsLambda

Description of the Lambdas.
## Properties
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/AWSLogsListResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A list of all Datadog-AWS logs integrations available in your Datadog organizati
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**account_id** | **str** | Your AWS Account ID without dashes. | [optional]
**lambdas** | [**[AWSLogsListResponseLambdas]**](AWSLogsListResponseLambdas.md) | List of ARNs configured in your Datadog account. | [optional]
**lambdas** | [**[AWSLogsLambda]**](AWSLogsLambda.md) | List of ARNs configured in your Datadog account. | [optional]
**services** | **[str]** | Array of services IDs. | [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)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AWSTagFilterListResponseFilters
# AWSTagFilter

A list of tag filters.
A tag filter.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/AWSTagFilterListResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ An array of tag filter rules by `namespace` and tag filter string.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**filters** | [**[AWSTagFilterListResponseFilters]**](AWSTagFilterListResponseFilters.md) | An array of tag filters. | [optional]
**filters** | [**[AWSTagFilter]**](AWSTagFilter.md) | An array of tag filters. | [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)

Expand Down
2 changes: 1 addition & 1 deletion docs/v1/Dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name | Type | Description | Notes
**modified_at** | **datetime** | Modification date of the dashboard. | [optional] [readonly]
**notify_list** | **[str], none_type** | List of handles of users to notify when changes are made to this dashboard. | [optional]
**template_variable_presets** | [**[DashboardTemplateVariablePreset], none_type**](DashboardTemplateVariablePreset.md) | Array of template variables saved views. | [optional]
**template_variables** | [**[DashboardTemplateVariables], none_type**](DashboardTemplateVariables.md) | List of template variables for this dashboard. | [optional]
**template_variables** | [**[DashboardTemplateVariable], none_type**](DashboardTemplateVariable.md) | List of template variables for this dashboard. | [optional]
**url** | **str** | The URL of the dashboard. | [optional] [readonly]

[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/DashboardSummary.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Dashboard summary response.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**dashboards** | [**[DashboardSummaryDashboards]**](DashboardSummaryDashboards.md) | List of dashboard definitions. | [optional]
**dashboards** | [**[DashboardSummaryDefinition]**](DashboardSummaryDefinition.md) | List of dashboard definitions. | [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)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# DashboardSummaryDashboards
# DashboardSummaryDefinition

Dashboard definition.
## Properties
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# DashboardTemplateVariables
# DashboardTemplateVariable

Template variable.
## Properties
Expand Down
4 changes: 2 additions & 2 deletions docs/v1/DashboardsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ with ApiClient(configuration) as api_client:
),
],
template_variables=[
DashboardTemplateVariables(
DashboardTemplateVariable(
default="my-host",
name="host1",
prefix="host",
Expand Down Expand Up @@ -393,7 +393,7 @@ with ApiClient(configuration) as api_client:
),
],
template_variables=[
DashboardTemplateVariables(
DashboardTemplateVariable(
default="my-host",
name="host1",
prefix="host",
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/FormulaAndFunctionQueryDefinition.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
**metric** | **str** | Process metric name. | defaults to nulltype.Null
**aggregator** | [**FormulaAndFunctionMetricAggregation**](FormulaAndFunctionMetricAggregation.md) | | [optional]
**name** | **str** | Name of query for use in formulas. | [optional]
**group_by** | [**[TimeSeriesFormulaAndFunctionEventQueryDefinitionGroupBy]**](TimeSeriesFormulaAndFunctionEventQueryDefinitionGroupBy.md) | Group by options. | [optional]
**group_by** | [**[TimeSeriesFormulaAndFunctionEventQueryGroupBy]**](TimeSeriesFormulaAndFunctionEventQueryGroupBy.md) | Group by options. | [optional]
**indexes** | **[str]** | An array of index names to query in the stream. Omit or use `[]` to query all indexes at once. | [optional]
**search** | [**TimeSeriesFormulaAndFunctionEventQueryDefinitionSearch**](TimeSeriesFormulaAndFunctionEventQueryDefinitionSearch.md) | | [optional]
**is_normalized_cpu** | **bool** | Whether to normalize the CPU percentages. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/LogQueryDefinitionGroupBy.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**facet** | **str** | Facet name. |
**limit** | **int** | Maximum number of items in the group. | [optional]
**sort** | [**LogQueryDefinitionSort**](LogQueryDefinitionSort.md) | | [optional]
**sort** | [**LogQueryDefinitionGroupBySort**](LogQueryDefinitionGroupBySort.md) | | [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)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# LogQueryDefinitionSort
# LogQueryDefinitionGroupBySort

Define a sorting method.
## Properties
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/LogsCategoryProcessor.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Use the Category Processor to add a new attribute (without spaces or special cha
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**categories** | [**[LogsCategoryProcessorCategories]**](LogsCategoryProcessorCategories.md) | Array of filters to match or not a log and their corresponding `name`to assign a custom value to the log. |
**categories** | [**[LogsCategoryProcessorCategory]**](LogsCategoryProcessorCategory.md) | Array of filters to match or not a log and their corresponding `name`to assign a custom value to the log. |
**target** | **str** | Name of the target attribute which value is defined by the matching category. |
**type** | [**LogsCategoryProcessorType**](LogsCategoryProcessorType.md) | |
**is_enabled** | **bool** | Whether or not the processor is enabled. | [optional] if omitted the server will use the default value of False
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# LogsCategoryProcessorCategories
# LogsCategoryProcessorCategory

Object describing the logs filter.
## Properties
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/LogsProcessor.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**type** | [**LogsTraceRemapperType**](LogsTraceRemapperType.md) | | defaults to nulltype.Null
**sources** | **[str]** | Array of source attributes. | defaults to nulltype.Null
**target** | **str** | Name of the attribute that contains the corresponding value in the mapping list or the `default_lookup` if not found in the mapping list. | defaults to nulltype.Null
**categories** | [**[LogsCategoryProcessorCategories]**](LogsCategoryProcessorCategories.md) | Array of filters to match or not a log and their corresponding `name`to assign a custom value to the log. | defaults to nulltype.Null
**categories** | [**[LogsCategoryProcessorCategory]**](LogsCategoryProcessorCategory.md) | Array of filters to match or not a log and their corresponding `name`to assign a custom value to the log. | defaults to nulltype.Null
**expression** | **str** | Arithmetic operation between one or more log attributes. | defaults to nulltype.Null
**template** | **str** | A formula with one or more attributes and raw text. | defaults to nulltype.Null
**lookup_table** | **[str]** | Mapping table of values for the source attribute and their associated target attribute values, formatted as `[\"source_key1,target_value1\", \"source_key2,target_value2\"]` | defaults to nulltype.Null
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# MetricsQueryResponseSeries
# MetricsQueryMetadata

Object containing all metric names returned and their associated metadata.
## Properties
Expand All @@ -14,7 +14,7 @@ Name | Type | Description | Notes
**pointlist** | [**[Point]**](Point.md) | List of points of the time series. | [optional] [readonly]
**scope** | **str** | Metric scope, comma separated list of tags. | [optional] [readonly]
**start** | **int** | Start of the time window, milliseconds since Unix epoch. | [optional] [readonly]
**unit** | [**[MetricsQueryResponseUnit]**](MetricsQueryResponseUnit.md) | Detailed information about the metric unit. First element describes the \"primary unit\" (for example, `bytes` in `bytes per second`), second describes the \"per unit\" (for example, `second` in `bytes per second`). | [optional] [readonly]
**unit** | [**[MetricsQueryUnit]**](MetricsQueryUnit.md) | Detailed information about the metric unit. First element describes the \"primary unit\" (for example, `bytes` in `bytes per second`), second describes the \"per unit\" (for example, `second` in `bytes per second`). | [optional] [readonly]

[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/v1/MetricsQueryResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
**message** | **str** | Message indicating `success` if status is `ok`. | [optional] [readonly]
**query** | **str** | Query string | [optional] [readonly]
**res_type** | **str** | Type of response. | [optional] [readonly]
**series** | [**[MetricsQueryResponseSeries]**](MetricsQueryResponseSeries.md) | List of timeseries queried. | [optional] [readonly]
**series** | [**[MetricsQueryMetadata]**](MetricsQueryMetadata.md) | List of timeseries queried. | [optional] [readonly]
**status** | **str** | Status of the query. | [optional] [readonly]
**to_date** | **int** | End of requested time window, milliseconds since Unix epoch. | [optional] [readonly]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# MetricsQueryResponseUnit
# MetricsQueryUnit

Object containing the metric unit family, scale factor, name, and short name.
## Properties
Expand Down
Loading