Skip to content

Commit 6f4c9ed

Browse files
committed
Generated client from my.yoast.test
1 parent cf0d054 commit 6f4c9ed

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/Api/AuthApi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Method | HTTP request | Description
1212
[**logoutGet**](AuthApi.md#logoutget) | **GET** /logout |
1313

1414
# **apiCustomersLoginPost**
15-
> string apiCustomersLoginPost($body)
15+
> \Yoast\MyYoastApiClient\Model\AccessTokenResponse apiCustomersLoginPost($body)
1616
1717
Log in a user on MyYoast.
1818

@@ -47,7 +47,7 @@ Name | Type | Description | Notes
4747

4848
### Return type
4949

50-
**string**
50+
[**\Yoast\MyYoastApiClient\Model\AccessTokenResponse**](../Model/AccessTokenResponse.md)
5151

5252
### Authorization
5353

src/Api/AuthApi.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function getConfig()
9595
*
9696
* @throws \Yoast\MyYoastApiClient\ApiException on non-2xx response
9797
* @throws \InvalidArgumentException
98-
* @return string
98+
* @return \Yoast\MyYoastApiClient\Model\AccessTokenResponse
9999
*/
100100
public function apiCustomersLoginPost($body)
101101
{
@@ -112,11 +112,11 @@ public function apiCustomersLoginPost($body)
112112
*
113113
* @throws \Yoast\MyYoastApiClient\ApiException on non-2xx response
114114
* @throws \InvalidArgumentException
115-
* @return array of string, HTTP status code, HTTP response headers (array of strings)
115+
* @return array of \Yoast\MyYoastApiClient\Model\AccessTokenResponse, HTTP status code, HTTP response headers (array of strings)
116116
*/
117117
public function apiCustomersLoginPostWithHttpInfo($body)
118118
{
119-
$returnType = 'string';
119+
$returnType = '\Yoast\MyYoastApiClient\Model\AccessTokenResponse';
120120
$request = $this->apiCustomersLoginPostRequest($body);
121121

122122
try {
@@ -168,7 +168,7 @@ public function apiCustomersLoginPostWithHttpInfo($body)
168168
case 201:
169169
$data = ObjectSerializer::deserialize(
170170
$e->getResponseBody(),
171-
'string',
171+
'\Yoast\MyYoastApiClient\Model\AccessTokenResponse',
172172
$e->getResponseHeaders()
173173
);
174174
$e->setResponseObject($data);
@@ -210,7 +210,7 @@ function ($response) {
210210
*/
211211
public function apiCustomersLoginPostAsyncWithHttpInfo($body)
212212
{
213-
$returnType = 'string';
213+
$returnType = '\Yoast\MyYoastApiClient\Model\AccessTokenResponse';
214214
$request = $this->apiCustomersLoginPostRequest($body);
215215

216216
return $this->client

0 commit comments

Comments
 (0)