Skip to content

Commit

Permalink
Merge pull request #148 from Catrobat/create-pull-request/patch-17248…
Browse files Browse the repository at this point in the history
…56403

Bump autogenerated OpenAPI code
  • Loading branch information
dmetzner authored Aug 28, 2024
2 parents 25674d1 + 0354378 commit 16b9878
Show file tree
Hide file tree
Showing 105 changed files with 257 additions and 276 deletions.
6 changes: 3 additions & 3 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ DependencyInjection/Compiler/OpenAPIServerApiPass.php
DependencyInjection/OpenAPIServerExtension.php
Model/BaseUser.php
Model/BasicUserDataResponse.php
Model/CreateStudioErrorResponse.php
Model/DryRun.php
Model/ExtendedUserDataResponse.php
Model/ExtensionResponse.php
Expand All @@ -46,7 +47,6 @@ Model/ResetPasswordErrorResponse.php
Model/ResetPasswordRequest.php
Model/SearchResponse.php
Model/StudioResponse.php
Model/StudioUpdateRequest.php
Model/SurveyResponse.php
Model/TagResponse.php
Model/UpdateProjectErrorResponse.php
Expand Down Expand Up @@ -79,6 +79,7 @@ Tests/AppKernel.php
Tests/Controller/ControllerTest.php
Tests/Model/BaseUserTest.php
Tests/Model/BasicUserDataResponseTest.php
Tests/Model/CreateStudioErrorResponseTest.php
Tests/Model/DryRunTest.php
Tests/Model/ExtendedUserDataResponseTest.php
Tests/Model/ExtensionResponseTest.php
Expand All @@ -102,7 +103,6 @@ Tests/Model/ResetPasswordErrorResponseTest.php
Tests/Model/ResetPasswordRequestTest.php
Tests/Model/SearchResponseTest.php
Tests/Model/StudioResponseTest.php
Tests/Model/StudioUpdateRequestTest.php
Tests/Model/SurveyResponseTest.php
Tests/Model/TagResponseTest.php
Tests/Model/UpdateProjectErrorResponseTest.php
Expand All @@ -124,6 +124,7 @@ docs/Api/UserApiInterface.md
docs/Api/UtilityApiInterface.md
docs/Model/BaseUser.md
docs/Model/BasicUserDataResponse.md
docs/Model/CreateStudioErrorResponse.md
docs/Model/DryRun.md
docs/Model/ExtendedUserDataResponse.md
docs/Model/ExtensionResponse.md
Expand All @@ -147,7 +148,6 @@ docs/Model/ResetPasswordErrorResponse.md
docs/Model/ResetPasswordRequest.md
docs/Model/SearchResponse.md
docs/Model/StudioResponse.md
docs/Model/StudioUpdateRequest.md
docs/Model/SurveyResponse.md
docs/Model/TagResponse.md
docs/Model/UpdateProjectErrorResponse.md
Expand Down
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.4
* The version of the OpenAPI document: v1.5.2
* 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.4
* The version of the OpenAPI document: v1.5.2
* 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.4
* The version of the OpenAPI document: v1.5.2
* 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.4
* The version of the OpenAPI document: v1.5.2
* 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.4
* The version of the OpenAPI document: v1.5.2
* 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.4
* The version of the OpenAPI document: v1.5.2
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
42 changes: 29 additions & 13 deletions Api/StudioApiInterface.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.4
* The version of the OpenAPI document: v1.5.2
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand All @@ -29,7 +29,7 @@

namespace OpenAPI\Server\Api;

use OpenAPI\Server\Model\StudioUpdateRequest;
use Symfony\Component\HttpFoundation\File\UploadedFile;

/**
* StudioApiInterface Interface Doc Comment.
Expand All @@ -54,16 +54,24 @@ public function setBearerAuth(?string $value): void;
*
* Update a Studio
*
* @param string $id (required)
* @param StudioUpdateRequest $studio_update_request (required)
* @param string $accept_language (optional, default to 'en')
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
* @param string $id (required)
* @param string $accept_language (optional, default to 'en')
* @param string|null $name The name of the studio (optional)
* @param string $description A small description about the Studio (optional, default to '')
* @param bool $is_public This flag sets the studios' visibility to public or private (optional, default to true)
* @param bool $enable_comments This flag enables or disabled the possibility to add comments to the studio (optional, default to true)
* @param UploadedFile|null $image_file (optional)
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*/
public function studioIdPut(
string $id,
StudioUpdateRequest $studio_update_request,
string $accept_language,
?string $name,
string $description,
bool $is_public,
bool $enable_comments,
?UploadedFile $image_file,
int &$responseCode,
array &$responseHeaders
): array|object|null;
Expand All @@ -73,14 +81,22 @@ public function studioIdPut(
*
* Create a new Studio
*
* @param StudioUpdateRequest $studio_update_request (required)
* @param string $accept_language (optional, default to 'en')
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
* @param string $accept_language (optional, default to 'en')
* @param string|null $name The name of the studio (optional)
* @param string $description A small description about the Studio (optional, default to '')
* @param bool $is_public This flag sets the studios' visibility to public or private (optional, default to true)
* @param bool $enable_comments This flag enables or disabled the possibility to add comments to the studio (optional, default to true)
* @param UploadedFile|null $image_file (optional)
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*/
public function studioPost(
StudioUpdateRequest $studio_update_request,
string $accept_language,
?string $name,
string $description,
bool $is_public,
bool $enable_comments,
?UploadedFile $image_file,
int &$responseCode,
array &$responseHeaders
): array|object|null;
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.4
* The version of the OpenAPI document: v1.5.2
* 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.4
* The version of the OpenAPI document: v1.5.2
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion 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.4
* The version of the OpenAPI document: v1.5.2
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion 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.4
* The version of the OpenAPI document: v1.5.2
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
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.4
* The version of the OpenAPI document: v1.5.2
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion 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.4
* The version of the OpenAPI document: v1.5.2
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion 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.4
* The version of the OpenAPI document: v1.5.2
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
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.4
* The version of the OpenAPI document: v1.5.2
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Loading

0 comments on commit 16b9878

Please sign in to comment.