Skip to content

change schema used in FastlyServicesResponse #1828

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
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-09-23 19:10:12.102309",
"spec_repo_commit": "41592dc6"
"regenerated": "2024-09-24 13:40:00.575999",
"spec_repo_commit": "7752efd3"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-09-23 19:10:12.123133",
"spec_repo_commit": "41592dc6"
"regenerated": "2024-09-24 13:40:00.590776",
"spec_repo_commit": "7752efd3"
}
}
}
2 changes: 1 addition & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9200,7 +9200,7 @@ components:
data:
description: The JSON:API data schema.
items:
$ref: '#/components/schemas/FastlyServiceResponse'
$ref: '#/components/schemas/FastlyServiceData'
type: array
type: object
Finding:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2020-Present Datadog, Inc.
*/
import { FastlyServiceResponse } from "./FastlyServiceResponse";
import { FastlyServiceData } from "./FastlyServiceData";

import { AttributeTypeMap } from "../../datadog-api-client-common/util";

Expand All @@ -14,7 +14,7 @@ export class FastlyServicesResponse {
/**
* The JSON:API data schema.
*/
"data"?: Array<FastlyServiceResponse>;
"data"?: Array<FastlyServiceData>;

/**
* A container for additional, undeclared properties.
Expand All @@ -34,7 +34,7 @@ export class FastlyServicesResponse {
static readonly attributeTypeMap: AttributeTypeMap = {
data: {
baseName: "data",
type: "Array<FastlyServiceResponse>",
type: "Array<FastlyServiceData>",
},
additionalProperties: {
baseName: "additionalProperties",
Expand Down
Loading