@@ -43,16 +43,16 @@ def abort(self) -> dict:
43
43
"""
44
44
return self ._abort ()
45
45
46
- def get_open_api_specification (self ) -> dict | None :
47
- """Return OpenAPI specification of the Actor's build.
46
+ def get_open_api_definition (self ) -> dict | None :
47
+ """Return OpenAPI definition of the Actor's build.
48
48
49
- https://docs.apify.com/api/v2/actor-build-openapi-specification -get
49
+ https://docs.apify.com/api/v2/actor-build-openapi-json -get
50
50
51
51
Returns:
52
- OpenAPI specification of the Actor's build.
52
+ OpenAPI definition of the Actor's build.
53
53
"""
54
54
response = self .http_client .call (
55
- url = self ._url ('openapi-specification ' ),
55
+ url = self ._url ('openapi.json ' ),
56
56
method = 'GET' ,
57
57
)
58
58
@@ -120,16 +120,16 @@ async def delete(self) -> None:
120
120
"""
121
121
return await self ._delete ()
122
122
123
- async def get_open_api_specification (self ) -> dict | None :
124
- """Return OpenAPI specification of the Actor's build.
123
+ async def get_open_api_definition (self ) -> dict | None :
124
+ """Return OpenAPI definition of the Actor's build.
125
125
126
- https://docs.apify.com/api/v2/actor-build-openapi-specification -get
126
+ https://docs.apify.com/api/v2/actor-build-openapi-json -get
127
127
128
128
Returns:
129
- OpenAPI specification of the Actor's build.
129
+ OpenAPI definition of the Actor's build.
130
130
"""
131
131
response = await self .http_client .call (
132
- url = self ._url ('openapi-specification ' ),
132
+ url = self ._url ('openapi.json ' ),
133
133
method = 'GET' ,
134
134
)
135
135
0 commit comments