Skip to content
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,7 @@ components:
format: int64
type: integer
PageSize:
description: Size for a given page. The maximum allowed value is 100.
description: Number of items to return per page. The maximum allowed value is 100.
in: query
name: page[size]
required: false
Expand Down Expand Up @@ -7751,7 +7751,7 @@ components:
description: An arbitrary object value with additional properties.
type: object
AnyValueString:
description: A scalar string value.
description: A scalar value represented as a string.
type: string
ApiID:
description: API identifier.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/reusable-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ jobs:
run: ./run-tests.sh
env:
CI: "true"
DD_USE_GENERATED_TESTS: "true"
DD_ENV: prod
DD_HTTP_CLIENT_ERROR_STATUSES: "500-599"
DD_CIVISIBILITY_COMPILER_PLUGIN_AUTO_CONFIGURATION_ENABLED: "false"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/reusable-java-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ jobs:
- name: Test
run: ${{ inputs.test-script }}
env:
DD_CIVISIBILITY_COMPILER_PLUGIN_AUTO_CONFIGURATION_ENABLED: "false"
DD_CIVISIBILITY_COMPILER_PLUGIN_AUTO_CONFIGURATION_ENABLED: "false"
DD_USE_GENERATED_TESTS: "true"
7 changes: 3 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ repos:
language: system
entry: bash -c "./generate.sh"
files: '^(\.generator/.*|\.pre-commit-config\.yaml|\.prettierrc\.yml|Makefile|src/test/resources/com/datadog/api/v*/client/api/.*|src/main/.*)'
stages: [manual]
pass_filenames: false
- id: docs
name: Format documentation
Expand All @@ -31,16 +32,14 @@ repos:
- "poetry"
- id: lint
name: Format generated code
stages: [manual]
language: script
entry: ./format.sh
files: '^src/'
files: '^src/main/java/'
types: [file, java]
pass_filenames: false
args: ['src/']
args: ['src/main/java/']
- id: lint-examples
name: Format examples
stages: [manual]
language: script
entry: ./format.sh
files: '^examples/'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,8 @@ public static class ListAuthNMappingsOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListAuthNMappingsOptionalParameters
*/
public ListAuthNMappingsOptionalParameters pageSize(Long pageSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6887,8 +6887,8 @@ public static class SearchCasesOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return SearchCasesOptionalParameters
*/
public SearchCasesOptionalParameters pageSize(Long pageSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ public static class ListIdentityProviderUsersOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListIdentityProviderUsersOptionalParameters
*/
public ListIdentityProviderUsersOptionalParameters pageSize(Long pageSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12027,8 +12027,8 @@ public ListIncidentsOptionalParameters include(List<IncidentRelatedObject> inclu
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListIncidentsOptionalParameters
*/
public ListIncidentsOptionalParameters pageSize(Long pageSize) {
Expand Down Expand Up @@ -13818,8 +13818,8 @@ public SearchIncidentsOptionalParameters sort(IncidentSearchSortOrder sort) {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return SearchIncidentsOptionalParameters
*/
public SearchIncidentsOptionalParameters pageSize(Long pageSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1554,8 +1554,8 @@ public static class ListAPIKeysOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListAPIKeysOptionalParameters
*/
public ListAPIKeysOptionalParameters pageSize(Long pageSize) {
Expand Down Expand Up @@ -1902,8 +1902,8 @@ public static class ListApplicationKeysOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListApplicationKeysOptionalParameters
*/
public ListApplicationKeysOptionalParameters pageSize(Long pageSize) {
Expand Down Expand Up @@ -2194,8 +2194,8 @@ public static class ListCurrentUserApplicationKeysOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListCurrentUserApplicationKeysOptionalParameters
*/
public ListCurrentUserApplicationKeysOptionalParameters pageSize(Long pageSize) {
Expand Down Expand Up @@ -2475,8 +2475,8 @@ public static class ListPersonalAccessTokensOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListPersonalAccessTokensOptionalParameters
*/
public ListPersonalAccessTokensOptionalParameters pageSize(Long pageSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -879,8 +879,8 @@ public static class ListRestrictionQueriesOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListRestrictionQueriesOptionalParameters
*/
public ListRestrictionQueriesOptionalParameters pageSize(Long pageSize) {
Expand Down Expand Up @@ -1084,8 +1084,8 @@ public static class ListRestrictionQueryRolesOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListRestrictionQueryRolesOptionalParameters
*/
public ListRestrictionQueryRolesOptionalParameters pageSize(Long pageSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,8 @@ public static class ListPipelinesOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListPipelinesOptionalParameters
*/
public ListPipelinesOptionalParameters pageSize(Long pageSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -821,8 +821,8 @@ public static class ListOrgAuthorizedClientsOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListOrgAuthorizedClientsOptionalParameters
*/
public ListOrgAuthorizedClientsOptionalParameters pageSize(Long pageSize) {
Expand Down Expand Up @@ -1152,8 +1152,8 @@ public static class ListOrgAuthorizedClientUserAuthorizationsOptionalParameters
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListOrgAuthorizedClientUserAuthorizationsOptionalParameters
*/
public ListOrgAuthorizedClientUserAuthorizationsOptionalParameters pageSize(Long pageSize) {
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/datadog/api/client/v2/api/RolesApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -1184,8 +1184,8 @@ public static class ListRolesOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListRolesOptionalParameters
*/
public ListRolesOptionalParameters pageSize(Long pageSize) {
Expand Down Expand Up @@ -1541,8 +1541,8 @@ public static class ListRoleUsersOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListRoleUsersOptionalParameters
*/
public ListRoleUsersOptionalParameters pageSize(Long pageSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1232,8 +1232,8 @@ public static class ListScorecardOutcomesOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListScorecardOutcomesOptionalParameters
*/
public ListScorecardOutcomesOptionalParameters pageSize(Long pageSize) {
Expand Down Expand Up @@ -1613,8 +1613,8 @@ public static class ListScorecardRulesOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListScorecardRulesOptionalParameters
*/
public ListScorecardRulesOptionalParameters pageSize(Long pageSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11926,8 +11926,8 @@ public static class GetRuleVersionHistoryOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return GetRuleVersionHistoryOptionalParameters
*/
public GetRuleVersionHistoryOptionalParameters pageSize(Long pageSize) {
Expand Down Expand Up @@ -16988,8 +16988,8 @@ public static class GetSuppressionVersionHistoryOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return GetSuppressionVersionHistoryOptionalParameters
*/
public GetSuppressionVersionHistoryOptionalParameters pageSize(Long pageSize) {
Expand Down Expand Up @@ -18524,8 +18524,8 @@ public static class ListHistoricalJobsOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListHistoricalJobsOptionalParameters
*/
public ListHistoricalJobsOptionalParameters pageSize(Long pageSize) {
Expand Down Expand Up @@ -21992,8 +21992,8 @@ public static class ListSecurityMonitoringRulesOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListSecurityMonitoringRulesOptionalParameters
*/
public ListSecurityMonitoringRulesOptionalParameters pageSize(Long pageSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1049,8 +1049,8 @@ public static class ListServiceAccountAccessTokensOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListServiceAccountAccessTokensOptionalParameters
*/
public ListServiceAccountAccessTokensOptionalParameters pageSize(Long pageSize) {
Expand Down Expand Up @@ -1315,8 +1315,8 @@ public static class ListServiceAccountApplicationKeysOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListServiceAccountApplicationKeysOptionalParameters
*/
public ListServiceAccountApplicationKeysOptionalParameters pageSize(Long pageSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,8 @@ public static class ListServiceDefinitionsOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListServiceDefinitionsOptionalParameters
*/
public ListServiceDefinitionsOptionalParameters pageSize(Long pageSize) {
Expand Down
20 changes: 10 additions & 10 deletions src/main/java/com/datadog/api/client/v2/api/TeamsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2442,8 +2442,8 @@ public static class GetTeamMembershipsOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return GetTeamMembershipsOptionalParameters
*/
public GetTeamMembershipsOptionalParameters pageSize(Long pageSize) {
Expand Down Expand Up @@ -3451,8 +3451,8 @@ public static class ListMemberTeamsOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListMemberTeamsOptionalParameters
*/
public ListMemberTeamsOptionalParameters pageSize(Long pageSize) {
Expand Down Expand Up @@ -3780,8 +3780,8 @@ public static class ListTeamConnectionsOptionalParameters {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListTeamConnectionsOptionalParameters
*/
public ListTeamConnectionsOptionalParameters pageSize(Long pageSize) {
Expand Down Expand Up @@ -4103,8 +4103,8 @@ public ListTeamHierarchyLinksOptionalParameters pageNumber(Long pageNumber) {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListTeamHierarchyLinksOptionalParameters
*/
public ListTeamHierarchyLinksOptionalParameters pageSize(Long pageSize) {
Expand Down Expand Up @@ -4382,8 +4382,8 @@ public ListTeamsOptionalParameters pageNumber(Long pageNumber) {
/**
* Set pageSize.
*
* @param pageSize Size for a given page. The maximum allowed value is 100. (optional, default
* to 10)
* @param pageSize Number of items to return per page. The maximum allowed value is 100.
* (optional, default to 10)
* @return ListTeamsOptionalParameters
*/
public ListTeamsOptionalParameters pageSize(Long pageSize) {
Expand Down
Loading
Loading