|
16 | 16 | *
|
17 | 17 | * API for the Catrobat Share Platform
|
18 | 18 | *
|
19 |
| - * The version of the OpenAPI document: v1.4.1 |
| 19 | + * The version of the OpenAPI document: v1.4.2 |
20 | 20 |
|
21 | 21 | * Generated by: https://github.com/openapitools/openapi-generator.git
|
22 | 22 | */
|
@@ -227,7 +227,7 @@ public function authenticationOauthPostAction(Request $request)
|
227 | 227 |
|
228 | 228 | // Deserialize the input values that needs it
|
229 | 229 | try {
|
230 |
| - $inputFormat = $request->getMimeType($request->getRequestFormat()); |
| 230 | + $inputFormat = $request->getMimeType($request->getContentTypeFormat()); |
231 | 231 | $o_auth_login_request = $this->deserialize($o_auth_login_request, 'OpenAPI\Server\Model\OAuthLoginRequest', $inputFormat);
|
232 | 232 | } catch (SerializerRuntimeException $exception) {
|
233 | 233 | return $this->createBadRequestResponse($exception->getMessage());
|
@@ -330,7 +330,7 @@ public function authenticationPostAction(Request $request)
|
330 | 330 |
|
331 | 331 | // Deserialize the input values that needs it
|
332 | 332 | try {
|
333 |
| - $inputFormat = $request->getMimeType($request->getRequestFormat()); |
| 333 | + $inputFormat = $request->getMimeType($request->getContentTypeFormat()); |
334 | 334 | $login_request = $this->deserialize($login_request, 'OpenAPI\Server\Model\LoginRequest', $inputFormat);
|
335 | 335 | } catch (SerializerRuntimeException $exception) {
|
336 | 336 | return $this->createBadRequestResponse($exception->getMessage());
|
@@ -433,7 +433,7 @@ public function authenticationRefreshPostAction(Request $request)
|
433 | 433 |
|
434 | 434 | // Deserialize the input values that needs it
|
435 | 435 | try {
|
436 |
| - $inputFormat = $request->getMimeType($request->getRequestFormat()); |
| 436 | + $inputFormat = $request->getMimeType($request->getContentTypeFormat()); |
437 | 437 | $refresh_request = $this->deserialize($refresh_request, 'OpenAPI\Server\Model\RefreshRequest', $inputFormat);
|
438 | 438 | } catch (SerializerRuntimeException $exception) {
|
439 | 439 | return $this->createBadRequestResponse($exception->getMessage());
|
@@ -535,7 +535,7 @@ public function authenticationUpgradePostAction(Request $request)
|
535 | 535 |
|
536 | 536 | // Deserialize the input values that needs it
|
537 | 537 | try {
|
538 |
| - $inputFormat = $request->getMimeType($request->getRequestFormat()); |
| 538 | + $inputFormat = $request->getMimeType($request->getContentTypeFormat()); |
539 | 539 | $upgrade_token_request = $this->deserialize($upgrade_token_request, 'OpenAPI\Server\Model\UpgradeTokenRequest', $inputFormat);
|
540 | 540 | } catch (SerializerRuntimeException $exception) {
|
541 | 541 | return $this->createBadRequestResponse($exception->getMessage());
|
|
0 commit comments