Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Disable additionalProperties for Downtime Schedule UpdateRequest oneOfs #1525

Merged
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
Jump to file
Failed to load files.
Loading
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.6.6",
"regenerated": "2024-03-06 21:36:39.696705",
"spec_repo_commit": "d76a4666"
"regenerated": "2024-03-07 14:48:11.719468",
"spec_repo_commit": "dbf17f07"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-03-06 21:36:39.714314",
"spec_repo_commit": "d76a4666"
"regenerated": "2024-03-07 14:48:11.735278",
"spec_repo_commit": "dbf17f07"
}
}
}
3 changes: 2 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6114,7 +6114,7 @@ components:
type: string
type: object
DowntimeScheduleOneTimeCreateUpdateRequest:
additionalProperties: {}
additionalProperties: false
description: A one-time downtime definition.
properties:
end:
Expand Down Expand Up @@ -6249,6 +6249,7 @@ components:
- recurrences
type: object
DowntimeScheduleRecurrencesUpdateRequest:
additionalProperties: false
description: A recurring downtime schedule definition.
properties:
recurrences:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@ export class DowntimeScheduleOneTimeCreateUpdateRequest {
*/
"start"?: Date;

/**
* A container for additional, undeclared properties.
* This is a holder for any undeclared properties as specified with
* the 'additionalProperties' keyword in the OAS document.
*/
"additionalProperties"?: { [key: string]: any };

/**
* @ignore
*/
Expand All @@ -47,10 +40,6 @@ export class DowntimeScheduleOneTimeCreateUpdateRequest {
type: "Date",
format: "date-time",
},
additionalProperties: {
baseName: "additionalProperties",
type: "any",
},
};

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ export class DowntimeScheduleRecurrencesUpdateRequest {
*/
"timezone"?: string;

/**
* A container for additional, undeclared properties.
* This is a holder for any undeclared properties as specified with
* the 'additionalProperties' keyword in the OAS document.
*/
"additionalProperties"?: { [key: string]: any };

/**
* @ignore
*/
Expand All @@ -44,10 +37,6 @@ export class DowntimeScheduleRecurrencesUpdateRequest {
baseName: "timezone",
type: "string",
},
additionalProperties: {
baseName: "additionalProperties",
type: "any",
},
};

/**
Expand Down
Loading