-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
96 changed files
with
123 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.4.0 | ||
* The version of the OpenAPI document: v1.4.1 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.4.0 | ||
* The version of the OpenAPI document: v1.4.1 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.4.0 | ||
* The version of the OpenAPI document: v1.4.1 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.4.0 | ||
* The version of the OpenAPI document: v1.4.1 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.4.0 | ||
* The version of the OpenAPI document: v1.4.1 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.4.0 | ||
* The version of the OpenAPI document: v1.4.1 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.4.0 | ||
* The version of the OpenAPI document: v1.4.1 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.4.0 | ||
* The version of the OpenAPI document: v1.4.1 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.4.0 | ||
* The version of the OpenAPI document: v1.4.1 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
@@ -59,7 +59,7 @@ class AuthenticationController extends Controller | |
public function authenticationDeleteAction(Request $request) | ||
{ | ||
// Handle authentication | ||
// Authentication 'BearerAuth' required | ||
$securityBearerAuth = $request->headers->get('authorization'); | ||
|
||
// Read out all input parameter values into variables | ||
$x_refresh = $request->headers->get('X-Refresh'); | ||
|
@@ -143,7 +143,7 @@ public function authenticationDeleteAction(Request $request) | |
public function authenticationGetAction(Request $request) | ||
{ | ||
// Handle authentication | ||
// Authentication 'BearerAuth' required | ||
$securityBearerAuth = $request->headers->get('authorization'); | ||
|
||
// Read out all input parameter values into variables | ||
|
||
|
@@ -227,7 +227,7 @@ public function authenticationOauthPostAction(Request $request) | |
|
||
// Deserialize the input values that needs it | ||
try { | ||
$inputFormat = $request->getMimeType($request->getContentType()); | ||
$inputFormat = $request->getMimeType($request->getRequestFormat()); | ||
$o_auth_login_request = $this->deserialize($o_auth_login_request, 'OpenAPI\Server\Model\OAuthLoginRequest', $inputFormat); | ||
} catch (SerializerRuntimeException $exception) { | ||
return $this->createBadRequestResponse($exception->getMessage()); | ||
|
@@ -321,7 +321,7 @@ public function authenticationPostAction(Request $request) | |
} | ||
|
||
// Handle authentication | ||
// Authentication 'BearerAuth' required | ||
$securityBearerAuth = $request->headers->get('authorization'); | ||
|
||
// Read out all input parameter values into variables | ||
$login_request = $request->getContent(); | ||
|
@@ -330,7 +330,7 @@ public function authenticationPostAction(Request $request) | |
|
||
// Deserialize the input values that needs it | ||
try { | ||
$inputFormat = $request->getMimeType($request->getContentType()); | ||
$inputFormat = $request->getMimeType($request->getRequestFormat()); | ||
$login_request = $this->deserialize($login_request, 'OpenAPI\Server\Model\LoginRequest', $inputFormat); | ||
} catch (SerializerRuntimeException $exception) { | ||
return $this->createBadRequestResponse($exception->getMessage()); | ||
|
@@ -424,7 +424,7 @@ public function authenticationRefreshPostAction(Request $request) | |
} | ||
|
||
// Handle authentication | ||
// Authentication 'BearerAuth' required | ||
$securityBearerAuth = $request->headers->get('authorization'); | ||
|
||
// Read out all input parameter values into variables | ||
$refresh_request = $request->getContent(); | ||
|
@@ -433,7 +433,7 @@ public function authenticationRefreshPostAction(Request $request) | |
|
||
// Deserialize the input values that needs it | ||
try { | ||
$inputFormat = $request->getMimeType($request->getContentType()); | ||
$inputFormat = $request->getMimeType($request->getRequestFormat()); | ||
$refresh_request = $this->deserialize($refresh_request, 'OpenAPI\Server\Model\RefreshRequest', $inputFormat); | ||
} catch (SerializerRuntimeException $exception) { | ||
return $this->createBadRequestResponse($exception->getMessage()); | ||
|
@@ -535,7 +535,7 @@ public function authenticationUpgradePostAction(Request $request) | |
|
||
// Deserialize the input values that needs it | ||
try { | ||
$inputFormat = $request->getMimeType($request->getContentType()); | ||
$inputFormat = $request->getMimeType($request->getRequestFormat()); | ||
$upgrade_token_request = $this->deserialize($upgrade_token_request, 'OpenAPI\Server\Model\UpgradeTokenRequest', $inputFormat); | ||
} catch (SerializerRuntimeException $exception) { | ||
return $this->createBadRequestResponse($exception->getMessage()); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.4.0 | ||
* The version of the OpenAPI document: v1.4.1 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
@@ -214,7 +214,7 @@ protected function getOutputFormat(string $accept, array $produced): ?string | |
public static function isContentTypeAllowed(Request $request, array $consumes = []): bool | ||
{ | ||
if (!empty($consumes) && '*/*' !== $consumes[0]) { | ||
$currentFormat = $request->getContentType(); | ||
$currentFormat = $request->getRequestFormat(); | ||
foreach ($consumes as $mimeType) { | ||
// canonize mime type | ||
if (is_string($mimeType) && false !== $pos = strpos($mimeType, ';')) { | ||
|
@@ -225,7 +225,7 @@ public static function isContentTypeAllowed(Request $request, array $consumes = | |
// add custom format to request | ||
$format = $mimeType; | ||
$request->setFormat($format, $format); | ||
$currentFormat = $request->getContentType(); | ||
$currentFormat = $request->getRequestFormat(); | ||
} | ||
|
||
if ($format === $currentFormat) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.4.0 | ||
* The version of the OpenAPI document: v1.4.1 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.4.0 | ||
* The version of the OpenAPI document: v1.4.1 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
@@ -59,7 +59,7 @@ class NotificationsController extends Controller | |
public function notificationIdReadPutAction(Request $request, $id) | ||
{ | ||
// Handle authentication | ||
// Authentication 'BearerAuth' required | ||
$securityBearerAuth = $request->headers->get('authorization'); | ||
|
||
// Read out all input parameter values into variables | ||
$accept_language = $request->headers->get('Accept-Language', 'en'); | ||
|
@@ -154,7 +154,7 @@ public function notificationsCountGetAction(Request $request) | |
} | ||
|
||
// Handle authentication | ||
// Authentication 'BearerAuth' required | ||
$securityBearerAuth = $request->headers->get('authorization'); | ||
|
||
// Read out all input parameter values into variables | ||
|
||
|
@@ -227,7 +227,7 @@ public function notificationsGetAction(Request $request) | |
} | ||
|
||
// Handle authentication | ||
// Authentication 'BearerAuth' required | ||
$securityBearerAuth = $request->headers->get('authorization'); | ||
|
||
// Read out all input parameter values into variables | ||
$limit = $request->query->get('limit', 20); | ||
|
@@ -341,7 +341,7 @@ public function notificationsGetAction(Request $request) | |
public function notificationsReadPutAction(Request $request) | ||
{ | ||
// Handle authentication | ||
// Authentication 'BearerAuth' required | ||
$securityBearerAuth = $request->headers->get('authorization'); | ||
|
||
// Read out all input parameter values into variables | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.4.0 | ||
* The version of the OpenAPI document: v1.4.1 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
@@ -146,7 +146,7 @@ public function projectIdCatrobatGetAction(Request $request, $id) | |
public function projectIdDeleteAction(Request $request, $id) | ||
{ | ||
// Handle authentication | ||
// Authentication 'BearerAuth' required | ||
$securityBearerAuth = $request->headers->get('authorization'); | ||
|
||
// Read out all input parameter values into variables | ||
|
||
|
@@ -333,7 +333,7 @@ public function projectIdPutAction(Request $request, $id) | |
} | ||
|
||
// Handle authentication | ||
// Authentication 'BearerAuth' required | ||
$securityBearerAuth = $request->headers->get('authorization'); | ||
|
||
// Read out all input parameter values into variables | ||
$accept_language = $request->headers->get('Accept-Language', 'en'); | ||
|
@@ -344,7 +344,7 @@ public function projectIdPutAction(Request $request, $id) | |
// Deserialize the input values that needs it | ||
try { | ||
$id = $this->deserialize($id, 'string', 'string'); | ||
$inputFormat = $request->getMimeType($request->getContentType()); | ||
$inputFormat = $request->getMimeType($request->getRequestFormat()); | ||
$update_project_request = $this->deserialize($update_project_request, 'OpenAPI\Server\Model\UpdateProjectRequest', $inputFormat); | ||
$accept_language = $this->deserialize($accept_language, 'string', 'string'); | ||
} catch (SerializerRuntimeException $exception) { | ||
|
@@ -595,7 +595,7 @@ public function projectIdReportPostAction(Request $request, $id) | |
} | ||
|
||
// Handle authentication | ||
// Authentication 'BearerAuth' required | ||
$securityBearerAuth = $request->headers->get('authorization'); | ||
|
||
// Read out all input parameter values into variables | ||
$project_report_request = $request->getContent(); | ||
|
@@ -605,7 +605,7 @@ public function projectIdReportPostAction(Request $request, $id) | |
// Deserialize the input values that needs it | ||
try { | ||
$id = $this->deserialize($id, 'string', 'string'); | ||
$inputFormat = $request->getMimeType($request->getContentType()); | ||
$inputFormat = $request->getMimeType($request->getRequestFormat()); | ||
$project_report_request = $this->deserialize($project_report_request, 'OpenAPI\Server\Model\ProjectReportRequest', $inputFormat); | ||
} catch (SerializerRuntimeException $exception) { | ||
return $this->createBadRequestResponse($exception->getMessage()); | ||
|
@@ -1141,7 +1141,7 @@ public function projectsPostAction(Request $request) | |
} | ||
|
||
// Handle authentication | ||
// Authentication 'BearerAuth' required | ||
$securityBearerAuth = $request->headers->get('authorization'); | ||
|
||
// Read out all input parameter values into variables | ||
$accept_language = $request->headers->get('Accept-Language', 'en'); | ||
|
@@ -1477,7 +1477,7 @@ public function projectsUserGetAction(Request $request) | |
} | ||
|
||
// Handle authentication | ||
// Authentication 'BearerAuth' required | ||
$securityBearerAuth = $request->headers->get('authorization'); | ||
|
||
// Read out all input parameter values into variables | ||
$max_version = $request->query->get('max_version', ''); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.4.0 | ||
* The version of the OpenAPI document: v1.4.1 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.4.0 | ||
* The version of the OpenAPI document: v1.4.1 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
@@ -59,7 +59,7 @@ class UserController extends Controller | |
public function userDeleteAction(Request $request) | ||
{ | ||
// Handle authentication | ||
// Authentication 'BearerAuth' required | ||
$securityBearerAuth = $request->headers->get('authorization'); | ||
|
||
// Read out all input parameter values into variables | ||
|
||
|
@@ -128,7 +128,7 @@ public function userGetAction(Request $request) | |
} | ||
|
||
// Handle authentication | ||
// Authentication 'BearerAuth' required | ||
$securityBearerAuth = $request->headers->get('authorization'); | ||
|
||
// Read out all input parameter values into variables | ||
|
||
|
@@ -304,7 +304,7 @@ public function userPostAction(Request $request) | |
|
||
// Deserialize the input values that needs it | ||
try { | ||
$inputFormat = $request->getMimeType($request->getContentType()); | ||
$inputFormat = $request->getMimeType($request->getRequestFormat()); | ||
$register_request = $this->deserialize($register_request, 'OpenAPI\Server\Model\RegisterRequest', $inputFormat); | ||
$accept_language = $this->deserialize($accept_language, 'string', 'string'); | ||
} catch (SerializerRuntimeException $exception) { | ||
|
@@ -405,7 +405,7 @@ public function userPutAction(Request $request) | |
} | ||
|
||
// Handle authentication | ||
// Authentication 'BearerAuth' required | ||
$securityBearerAuth = $request->headers->get('authorization'); | ||
|
||
// Read out all input parameter values into variables | ||
$accept_language = $request->headers->get('Accept-Language', 'en'); | ||
|
@@ -415,7 +415,7 @@ public function userPutAction(Request $request) | |
|
||
// Deserialize the input values that needs it | ||
try { | ||
$inputFormat = $request->getMimeType($request->getContentType()); | ||
$inputFormat = $request->getMimeType($request->getRequestFormat()); | ||
$update_user_request = $this->deserialize($update_user_request, 'OpenAPI\Server\Model\UpdateUserRequest', $inputFormat); | ||
$accept_language = $this->deserialize($accept_language, 'string', 'string'); | ||
} catch (SerializerRuntimeException $exception) { | ||
|
@@ -522,7 +522,7 @@ public function userResetPasswordPostAction(Request $request) | |
|
||
// Deserialize the input values that needs it | ||
try { | ||
$inputFormat = $request->getMimeType($request->getContentType()); | ||
$inputFormat = $request->getMimeType($request->getRequestFormat()); | ||
$reset_password_request = $this->deserialize($reset_password_request, 'OpenAPI\Server\Model\ResetPasswordRequest', $inputFormat); | ||
$accept_language = $this->deserialize($accept_language, 'string', 'string'); | ||
} catch (SerializerRuntimeException $exception) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.4.0 | ||
* The version of the OpenAPI document: v1.4.1 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.4.0 | ||
* The version of the OpenAPI document: v1.4.1 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
Oops, something went wrong.