Skip to content

Commit

Permalink
Bump version & add manual fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dmetzner committed Apr 11, 2024
1 parent 4c20932 commit 79e0d85
Show file tree
Hide file tree
Showing 96 changed files with 123 additions and 123 deletions.
2 changes: 1 addition & 1 deletion Api/ApiServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion Api/AuthenticationApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion Api/MediaLibraryApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion Api/NotificationsApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion Api/ProjectsApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion Api/SearchApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion Api/UserApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion Api/UtilityApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
18 changes: 9 additions & 9 deletions Controller/AuthenticationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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');
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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());
Expand Down Expand Up @@ -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();
Expand All @@ -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());
Expand Down Expand Up @@ -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();
Expand All @@ -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());
Expand Down Expand Up @@ -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());
Expand Down
6 changes: 3 additions & 3 deletions Controller/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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, ';')) {
Expand All @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion Controller/MediaLibraryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
10 changes: 5 additions & 5 deletions Controller/NotificationsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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');
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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

Expand Down
16 changes: 8 additions & 8 deletions Controller/ProjectsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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');
Expand All @@ -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) {
Expand Down Expand Up @@ -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();
Expand All @@ -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());
Expand Down Expand Up @@ -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');
Expand Down Expand Up @@ -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', '');
Expand Down
2 changes: 1 addition & 1 deletion Controller/SearchController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
14 changes: 7 additions & 7 deletions Controller/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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');
Expand All @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion Controller/UtilityController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion DependencyInjection/Compiler/OpenAPIServerApiPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
Loading

0 comments on commit 79e0d85

Please sign in to comment.