Skip to content

Commit bdb9e00

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
change schema used in FastlyServicesResponse (#2173)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 283f763 commit bdb9e00

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-09-23 19:10:10.087479",
8-
"spec_repo_commit": "41592dc6"
7+
"regenerated": "2024-09-24 13:39:59.931391",
8+
"spec_repo_commit": "7752efd3"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-09-23 19:10:10.101269",
13-
"spec_repo_commit": "41592dc6"
12+
"regenerated": "2024-09-24 13:39:59.945692",
13+
"spec_repo_commit": "7752efd3"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9200,7 +9200,7 @@ components:
92009200
data:
92019201
description: The JSON:API data schema.
92029202
items:
9203-
$ref: '#/components/schemas/FastlyServiceResponse'
9203+
$ref: '#/components/schemas/FastlyServiceData'
92049204
type: array
92059205
type: object
92069206
Finding:

src/datadog_api_client/v2/model/fastly_services_response.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,28 @@
1414

1515

1616
if TYPE_CHECKING:
17-
from datadog_api_client.v2.model.fastly_service_response import FastlyServiceResponse
17+
from datadog_api_client.v2.model.fastly_service_data import FastlyServiceData
1818

1919

2020
class FastlyServicesResponse(ModelNormal):
2121
@cached_property
2222
def openapi_types(_):
23-
from datadog_api_client.v2.model.fastly_service_response import FastlyServiceResponse
23+
from datadog_api_client.v2.model.fastly_service_data import FastlyServiceData
2424

2525
return {
26-
"data": ([FastlyServiceResponse],),
26+
"data": ([FastlyServiceData],),
2727
}
2828

2929
attribute_map = {
3030
"data": "data",
3131
}
3232

33-
def __init__(self_, data: Union[List[FastlyServiceResponse], UnsetType] = unset, **kwargs):
33+
def __init__(self_, data: Union[List[FastlyServiceData], UnsetType] = unset, **kwargs):
3434
"""
3535
The expected response schema when getting Fastly services.
3636
3737
:param data: The JSON:API data schema.
38-
:type data: [FastlyServiceResponse], optional
38+
:type data: [FastlyServiceData], optional
3939
"""
4040
if data is not unset:
4141
kwargs["data"] = data

0 commit comments

Comments
 (0)