Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

Commit 16b9878

Browse files
authored
Merge pull request #148 from Catrobat/create-pull-request/patch-1724856403
Bump autogenerated OpenAPI code
2 parents 25674d1 + 0354378 commit 16b9878

File tree

105 files changed

+257
-276
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+257
-276
lines changed

.openapi-generator/FILES

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ DependencyInjection/Compiler/OpenAPIServerApiPass.php
2323
DependencyInjection/OpenAPIServerExtension.php
2424
Model/BaseUser.php
2525
Model/BasicUserDataResponse.php
26+
Model/CreateStudioErrorResponse.php
2627
Model/DryRun.php
2728
Model/ExtendedUserDataResponse.php
2829
Model/ExtensionResponse.php
@@ -46,7 +47,6 @@ Model/ResetPasswordErrorResponse.php
4647
Model/ResetPasswordRequest.php
4748
Model/SearchResponse.php
4849
Model/StudioResponse.php
49-
Model/StudioUpdateRequest.php
5050
Model/SurveyResponse.php
5151
Model/TagResponse.php
5252
Model/UpdateProjectErrorResponse.php
@@ -79,6 +79,7 @@ Tests/AppKernel.php
7979
Tests/Controller/ControllerTest.php
8080
Tests/Model/BaseUserTest.php
8181
Tests/Model/BasicUserDataResponseTest.php
82+
Tests/Model/CreateStudioErrorResponseTest.php
8283
Tests/Model/DryRunTest.php
8384
Tests/Model/ExtendedUserDataResponseTest.php
8485
Tests/Model/ExtensionResponseTest.php
@@ -102,7 +103,6 @@ Tests/Model/ResetPasswordErrorResponseTest.php
102103
Tests/Model/ResetPasswordRequestTest.php
103104
Tests/Model/SearchResponseTest.php
104105
Tests/Model/StudioResponseTest.php
105-
Tests/Model/StudioUpdateRequestTest.php
106106
Tests/Model/SurveyResponseTest.php
107107
Tests/Model/TagResponseTest.php
108108
Tests/Model/UpdateProjectErrorResponseTest.php
@@ -124,6 +124,7 @@ docs/Api/UserApiInterface.md
124124
docs/Api/UtilityApiInterface.md
125125
docs/Model/BaseUser.md
126126
docs/Model/BasicUserDataResponse.md
127+
docs/Model/CreateStudioErrorResponse.md
127128
docs/Model/DryRun.md
128129
docs/Model/ExtendedUserDataResponse.md
129130
docs/Model/ExtensionResponse.md
@@ -147,7 +148,6 @@ docs/Model/ResetPasswordErrorResponse.md
147148
docs/Model/ResetPasswordRequest.md
148149
docs/Model/SearchResponse.md
149150
docs/Model/StudioResponse.md
150-
docs/Model/StudioUpdateRequest.md
151151
docs/Model/SurveyResponse.md
152152
docs/Model/TagResponse.md
153153
docs/Model/UpdateProjectErrorResponse.md

Api/ApiServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* API for the Catrobat Share Platform
1818
*
19-
* The version of the OpenAPI document: v1.4.4
19+
* The version of the OpenAPI document: v1.5.2
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Api/AuthenticationApiInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* API for the Catrobat Share Platform
1818
*
19-
* The version of the OpenAPI document: v1.4.4
19+
* The version of the OpenAPI document: v1.5.2
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Api/MediaLibraryApiInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* API for the Catrobat Share Platform
1818
*
19-
* The version of the OpenAPI document: v1.4.4
19+
* The version of the OpenAPI document: v1.5.2
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Api/NotificationsApiInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* API for the Catrobat Share Platform
1818
*
19-
* The version of the OpenAPI document: v1.4.4
19+
* The version of the OpenAPI document: v1.5.2
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Api/ProjectsApiInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* API for the Catrobat Share Platform
1818
*
19-
* The version of the OpenAPI document: v1.4.4
19+
* The version of the OpenAPI document: v1.5.2
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Api/SearchApiInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* API for the Catrobat Share Platform
1818
*
19-
* The version of the OpenAPI document: v1.4.4
19+
* The version of the OpenAPI document: v1.5.2
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Api/StudioApiInterface.php

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* API for the Catrobat Share Platform
1818
*
19-
* The version of the OpenAPI document: v1.4.4
19+
* The version of the OpenAPI document: v1.5.2
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/
@@ -29,7 +29,7 @@
2929

3030
namespace OpenAPI\Server\Api;
3131

32-
use OpenAPI\Server\Model\StudioUpdateRequest;
32+
use Symfony\Component\HttpFoundation\File\UploadedFile;
3333

3434
/**
3535
* StudioApiInterface Interface Doc Comment.
@@ -54,16 +54,24 @@ public function setBearerAuth(?string $value): void;
5454
*
5555
* Update a Studio
5656
*
57-
* @param string $id (required)
58-
* @param StudioUpdateRequest $studio_update_request (required)
59-
* @param string $accept_language (optional, default to 'en')
60-
* @param int &$responseCode The HTTP Response Code
61-
* @param array $responseHeaders Additional HTTP headers to return with the response ()
57+
* @param string $id (required)
58+
* @param string $accept_language (optional, default to 'en')
59+
* @param string|null $name The name of the studio (optional)
60+
* @param string $description A small description about the Studio (optional, default to '')
61+
* @param bool $is_public This flag sets the studios' visibility to public or private (optional, default to true)
62+
* @param bool $enable_comments This flag enables or disabled the possibility to add comments to the studio (optional, default to true)
63+
* @param UploadedFile|null $image_file (optional)
64+
* @param int &$responseCode The HTTP Response Code
65+
* @param array $responseHeaders Additional HTTP headers to return with the response ()
6266
*/
6367
public function studioIdPut(
6468
string $id,
65-
StudioUpdateRequest $studio_update_request,
6669
string $accept_language,
70+
?string $name,
71+
string $description,
72+
bool $is_public,
73+
bool $enable_comments,
74+
?UploadedFile $image_file,
6775
int &$responseCode,
6876
array &$responseHeaders
6977
): array|object|null;
@@ -73,14 +81,22 @@ public function studioIdPut(
7381
*
7482
* Create a new Studio
7583
*
76-
* @param StudioUpdateRequest $studio_update_request (required)
77-
* @param string $accept_language (optional, default to 'en')
78-
* @param int &$responseCode The HTTP Response Code
79-
* @param array $responseHeaders Additional HTTP headers to return with the response ()
84+
* @param string $accept_language (optional, default to 'en')
85+
* @param string|null $name The name of the studio (optional)
86+
* @param string $description A small description about the Studio (optional, default to '')
87+
* @param bool $is_public This flag sets the studios' visibility to public or private (optional, default to true)
88+
* @param bool $enable_comments This flag enables or disabled the possibility to add comments to the studio (optional, default to true)
89+
* @param UploadedFile|null $image_file (optional)
90+
* @param int &$responseCode The HTTP Response Code
91+
* @param array $responseHeaders Additional HTTP headers to return with the response ()
8092
*/
8193
public function studioPost(
82-
StudioUpdateRequest $studio_update_request,
8394
string $accept_language,
95+
?string $name,
96+
string $description,
97+
bool $is_public,
98+
bool $enable_comments,
99+
?UploadedFile $image_file,
84100
int &$responseCode,
85101
array &$responseHeaders
86102
): array|object|null;

Api/UserApiInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* API for the Catrobat Share Platform
1818
*
19-
* The version of the OpenAPI document: v1.4.4
19+
* The version of the OpenAPI document: v1.5.2
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Api/UtilityApiInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* API for the Catrobat Share Platform
1818
*
19-
* The version of the OpenAPI document: v1.4.4
19+
* The version of the OpenAPI document: v1.5.2
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

0 commit comments

Comments
 (0)