-
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
60 changed files
with
251 additions
and
258 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.1.6 | ||
* The version of the OpenAPI document: v1.1.7 | ||
* 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.1.6 | ||
* The version of the OpenAPI document: v1.1.7 | ||
* 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.1.6 | ||
* The version of the OpenAPI document: v1.1.7 | ||
* 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.1.6 | ||
* The version of the OpenAPI document: v1.1.7 | ||
* 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.1.6 | ||
* The version of the OpenAPI document: v1.1.7 | ||
* 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.1.6 | ||
* The version of the OpenAPI document: v1.1.7 | ||
* 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.1.6 | ||
* The version of the OpenAPI document: v1.1.7 | ||
* 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.1.6 | ||
* The version of the OpenAPI document: v1.1.7 | ||
* 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.1.6 | ||
* The version of the OpenAPI document: v1.1.7 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
@@ -29,7 +29,6 @@ | |
|
||
namespace OpenAPI\Server\Controller; | ||
|
||
use Exception; | ||
use JMS\Serializer\Exception\RuntimeException as SerializerRuntimeException; | ||
use OpenAPI\Server\Api\AuthenticationApiInterface; | ||
use Symfony\Component\HttpFoundation\Request; | ||
|
@@ -129,7 +128,7 @@ public function authenticationDeleteAction(Request $request) | |
] | ||
) | ||
); | ||
} catch (Exception $fallthrough) { | ||
} catch (\Throwable $fallthrough) { | ||
return $this->createErrorResponse(new HttpException(500, 'An unsuspected error occurred.', $fallthrough)); | ||
} | ||
} | ||
|
@@ -191,7 +190,7 @@ public function authenticationGetAction(Request $request) | |
] | ||
) | ||
); | ||
} catch (Exception $fallthrough) { | ||
} catch (\Throwable $fallthrough) { | ||
return $this->createErrorResponse(new HttpException(500, 'An unsuspected error occurred.', $fallthrough)); | ||
} | ||
} | ||
|
@@ -293,7 +292,7 @@ public function authenticationOauthPostAction(Request $request) | |
] | ||
) | ||
); | ||
} catch (Exception $fallthrough) { | ||
} catch (\Throwable $fallthrough) { | ||
return $this->createErrorResponse(new HttpException(500, 'An unsuspected error occurred.', $fallthrough)); | ||
} | ||
} | ||
|
@@ -398,7 +397,7 @@ public function authenticationPostAction(Request $request) | |
] | ||
) | ||
); | ||
} catch (Exception $fallthrough) { | ||
} catch (\Throwable $fallthrough) { | ||
return $this->createErrorResponse(new HttpException(500, 'An unsuspected error occurred.', $fallthrough)); | ||
} | ||
} | ||
|
@@ -503,7 +502,7 @@ public function authenticationRefreshPostAction(Request $request) | |
] | ||
) | ||
); | ||
} catch (Exception $fallthrough) { | ||
} catch (\Throwable $fallthrough) { | ||
return $this->createErrorResponse(new HttpException(500, 'An unsuspected error occurred.', $fallthrough)); | ||
} | ||
} | ||
|
@@ -602,7 +601,7 @@ public function authenticationUpgradePostAction(Request $request) | |
] | ||
) | ||
); | ||
} catch (Exception $fallthrough) { | ||
} catch (\Throwable $fallthrough) { | ||
return $this->createErrorResponse(new HttpException(500, 'An unsuspected error occurred.', $fallthrough)); | ||
} | ||
} | ||
|
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.1.6 | ||
* The version of the OpenAPI document: v1.1.7 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
@@ -118,13 +118,13 @@ protected function serialize($data, string $format): string | |
/** | ||
* Deserializes data from a given type format. | ||
* | ||
* @param string $data the data to deserialize | ||
* @param string $class the target data class | ||
* @param string $format the source serialization format | ||
* @param string|null $data the data to deserialize | ||
* @param string $class the target data class | ||
* @param string $format the source serialization format | ||
* | ||
* @return mixed a deserialized data | ||
*/ | ||
protected function deserialize(string $data, string $class, string $format) | ||
protected function deserialize(?string $data, string $class, string $format) | ||
{ | ||
return $this->serializer->deserialize($data, $class, $format); | ||
} | ||
|
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.1.6 | ||
* The version of the OpenAPI document: v1.1.7 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
@@ -29,7 +29,6 @@ | |
|
||
namespace OpenAPI\Server\Controller; | ||
|
||
use Exception; | ||
use JMS\Serializer\Exception\RuntimeException as SerializerRuntimeException; | ||
use OpenAPI\Server\Api\MediaLibraryApiInterface; | ||
use Symfony\Component\HttpFoundation\Request; | ||
|
@@ -139,7 +138,7 @@ public function mediaFileIdGetAction(Request $request, $id) | |
] | ||
) | ||
); | ||
} catch (Exception $fallthrough) { | ||
} catch (\Throwable $fallthrough) { | ||
return $this->createErrorResponse(new HttpException(500, 'An unsuspected error occurred.', $fallthrough)); | ||
} | ||
} | ||
|
@@ -249,7 +248,7 @@ public function mediaFilesGetAction(Request $request) | |
] | ||
) | ||
); | ||
} catch (Exception $fallthrough) { | ||
} catch (\Throwable $fallthrough) { | ||
return $this->createErrorResponse(new HttpException(500, 'An unsuspected error occurred.', $fallthrough)); | ||
} | ||
} | ||
|
@@ -376,7 +375,7 @@ public function mediaFilesSearchGetAction(Request $request) | |
] | ||
) | ||
); | ||
} catch (Exception $fallthrough) { | ||
} catch (\Throwable $fallthrough) { | ||
return $this->createErrorResponse(new HttpException(500, 'An unsuspected error occurred.', $fallthrough)); | ||
} | ||
} | ||
|
@@ -491,7 +490,7 @@ public function mediaPackageNameGetAction(Request $request, $name) | |
] | ||
) | ||
); | ||
} catch (Exception $fallthrough) { | ||
} catch (\Throwable $fallthrough) { | ||
return $this->createErrorResponse(new HttpException(500, 'An unsuspected error occurred.', $fallthrough)); | ||
} | ||
} | ||
|
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.1.6 | ||
* The version of the OpenAPI document: v1.1.7 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
@@ -29,7 +29,6 @@ | |
|
||
namespace OpenAPI\Server\Controller; | ||
|
||
use Exception; | ||
use JMS\Serializer\Exception\RuntimeException as SerializerRuntimeException; | ||
use OpenAPI\Server\Api\NotificationsApiInterface; | ||
use Symfony\Component\HttpFoundation\Request; | ||
|
@@ -132,7 +131,7 @@ public function notificationIdReadPutAction(Request $request, $id) | |
] | ||
) | ||
); | ||
} catch (Exception $fallthrough) { | ||
} catch (\Throwable $fallthrough) { | ||
return $this->createErrorResponse(new HttpException(500, 'An unsuspected error occurred.', $fallthrough)); | ||
} | ||
} | ||
|
@@ -207,7 +206,7 @@ public function notificationsCountGetAction(Request $request) | |
] | ||
) | ||
); | ||
} catch (Exception $fallthrough) { | ||
} catch (\Throwable $fallthrough) { | ||
return $this->createErrorResponse(new HttpException(500, 'An unsuspected error occurred.', $fallthrough)); | ||
} | ||
} | ||
|
@@ -332,7 +331,7 @@ public function notificationsGetAction(Request $request) | |
] | ||
) | ||
); | ||
} catch (Exception $fallthrough) { | ||
} catch (\Throwable $fallthrough) { | ||
return $this->createErrorResponse(new HttpException(500, 'An unsuspected error occurred.', $fallthrough)); | ||
} | ||
} | ||
|
@@ -400,7 +399,7 @@ public function notificationsReadPutAction(Request $request) | |
] | ||
) | ||
); | ||
} catch (Exception $fallthrough) { | ||
} catch (\Throwable $fallthrough) { | ||
return $this->createErrorResponse(new HttpException(500, 'An unsuspected error occurred.', $fallthrough)); | ||
} | ||
} | ||
|
Oops, something went wrong.