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

Commit 9dc3d7f

Browse files
dmetznerCatrobot
authored and
Catrobot
committed
Automated Code Generation
1 parent e2d5ab5 commit 9dc3d7f

File tree

116 files changed

+2938
-482
lines changed

Some content is hidden

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

116 files changed

+2938
-482
lines changed

Diff for: .openapi-generator/FILES

+13
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Api/MediaLibraryApiInterface.php
77
Api/NotificationsApiInterface.php
88
Api/ProjectsApiInterface.php
99
Api/SearchApiInterface.php
10+
Api/StudioApiInterface.php
1011
Api/UserApiInterface.php
1112
Api/UtilityApiInterface.php
1213
Controller/AuthenticationController.php
@@ -15,12 +16,14 @@ Controller/MediaLibraryController.php
1516
Controller/NotificationsController.php
1617
Controller/ProjectsController.php
1718
Controller/SearchController.php
19+
Controller/StudioController.php
1820
Controller/UserController.php
1921
Controller/UtilityController.php
2022
DependencyInjection/Compiler/OpenAPIServerApiPass.php
2123
DependencyInjection/OpenAPIServerExtension.php
2224
Model/BaseUser.php
2325
Model/BasicUserDataResponse.php
26+
Model/CreateStudioErrorResponse.php
2427
Model/DryRun.php
2528
Model/ExtendedUserDataResponse.php
2629
Model/ExtensionResponse.php
@@ -43,11 +46,13 @@ Model/RegisterRequest.php
4346
Model/ResetPasswordErrorResponse.php
4447
Model/ResetPasswordRequest.php
4548
Model/SearchResponse.php
49+
Model/StudioResponse.php
4650
Model/SurveyResponse.php
4751
Model/TagResponse.php
4852
Model/UpdateProjectErrorResponse.php
4953
Model/UpdateProjectFailureResponse.php
5054
Model/UpdateProjectRequest.php
55+
Model/UpdateStudioErrorResponse.php
5156
Model/UpdateUserErrorResponse.php
5257
Model/UpdateUserRequest.php
5358
Model/UpgradeTokenRequest.php
@@ -68,12 +73,14 @@ Tests/Api/MediaLibraryApiInterfaceTest.php
6873
Tests/Api/NotificationsApiInterfaceTest.php
6974
Tests/Api/ProjectsApiInterfaceTest.php
7075
Tests/Api/SearchApiInterfaceTest.php
76+
Tests/Api/StudioApiInterfaceTest.php
7177
Tests/Api/UserApiInterfaceTest.php
7278
Tests/Api/UtilityApiInterfaceTest.php
7379
Tests/AppKernel.php
7480
Tests/Controller/ControllerTest.php
7581
Tests/Model/BaseUserTest.php
7682
Tests/Model/BasicUserDataResponseTest.php
83+
Tests/Model/CreateStudioErrorResponseTest.php
7784
Tests/Model/DryRunTest.php
7885
Tests/Model/ExtendedUserDataResponseTest.php
7986
Tests/Model/ExtensionResponseTest.php
@@ -96,11 +103,13 @@ Tests/Model/RegisterRequestTest.php
96103
Tests/Model/ResetPasswordErrorResponseTest.php
97104
Tests/Model/ResetPasswordRequestTest.php
98105
Tests/Model/SearchResponseTest.php
106+
Tests/Model/StudioResponseTest.php
99107
Tests/Model/SurveyResponseTest.php
100108
Tests/Model/TagResponseTest.php
101109
Tests/Model/UpdateProjectErrorResponseTest.php
102110
Tests/Model/UpdateProjectFailureResponseTest.php
103111
Tests/Model/UpdateProjectRequestTest.php
112+
Tests/Model/UpdateStudioErrorResponseTest.php
104113
Tests/Model/UpdateUserErrorResponseTest.php
105114
Tests/Model/UpdateUserRequestTest.php
106115
Tests/Model/UpgradeTokenRequestTest.php
@@ -112,10 +121,12 @@ docs/Api/MediaLibraryApiInterface.md
112121
docs/Api/NotificationsApiInterface.md
113122
docs/Api/ProjectsApiInterface.md
114123
docs/Api/SearchApiInterface.md
124+
docs/Api/StudioApiInterface.md
115125
docs/Api/UserApiInterface.md
116126
docs/Api/UtilityApiInterface.md
117127
docs/Model/BaseUser.md
118128
docs/Model/BasicUserDataResponse.md
129+
docs/Model/CreateStudioErrorResponse.md
119130
docs/Model/DryRun.md
120131
docs/Model/ExtendedUserDataResponse.md
121132
docs/Model/ExtensionResponse.md
@@ -138,11 +149,13 @@ docs/Model/RegisterRequest.md
138149
docs/Model/ResetPasswordErrorResponse.md
139150
docs/Model/ResetPasswordRequest.md
140151
docs/Model/SearchResponse.md
152+
docs/Model/StudioResponse.md
141153
docs/Model/SurveyResponse.md
142154
docs/Model/TagResponse.md
143155
docs/Model/UpdateProjectErrorResponse.md
144156
docs/Model/UpdateProjectFailureResponse.md
145157
docs/Model/UpdateProjectRequest.md
158+
docs/Model/UpdateStudioErrorResponse.md
146159
docs/Model/UpdateUserErrorResponse.md
147160
docs/Model/UpdateUserRequest.md
148161
docs/Model/UpgradeTokenRequest.md

Diff for: Api/ApiServer.php

+1-1
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.3
19+
* The version of the OpenAPI document: v1.6.0
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Diff for: Api/AuthenticationApiInterface.php

+1-1
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.3
19+
* The version of the OpenAPI document: v1.6.0
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Diff for: Api/MediaLibraryApiInterface.php

+1-1
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.3
19+
* The version of the OpenAPI document: v1.6.0
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Diff for: Api/NotificationsApiInterface.php

+1-1
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.3
19+
* The version of the OpenAPI document: v1.6.0
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Diff for: Api/ProjectsApiInterface.php

+1-1
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.3
19+
* The version of the OpenAPI document: v1.6.0
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Diff for: Api/SearchApiInterface.php

+1-1
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.3
19+
* The version of the OpenAPI document: v1.6.0
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Diff for: Api/StudioApiInterface.php

+103
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<?php
2+
/**
3+
* StudioApiInterface.
4+
*
5+
* PHP version 8.1.1
6+
*
7+
* @category Class
8+
*
9+
* @author OpenAPI Generator team
10+
*
11+
* @see https://github.com/openapitools/openapi-generator
12+
*/
13+
14+
/**
15+
* Catroweb API.
16+
*
17+
* API for the Catrobat Share Platform
18+
*
19+
* The version of the OpenAPI document: v1.6.0
20+
* Contact: [email protected]
21+
* Generated by: https://github.com/openapitools/openapi-generator.git
22+
*/
23+
24+
/**
25+
* NOTE: This class is auto generated by the openapi generator program.
26+
* https://github.com/openapitools/openapi-generator
27+
* Do not edit the class manually.
28+
*/
29+
30+
namespace OpenAPI\Server\Api;
31+
32+
use Symfony\Component\HttpFoundation\File\UploadedFile;
33+
34+
/**
35+
* StudioApiInterface Interface Doc Comment.
36+
*
37+
* @category Interface
38+
*
39+
* @author OpenAPI Generator team
40+
*
41+
* @see https://github.com/openapitools/openapi-generator
42+
*/
43+
interface StudioApiInterface
44+
{
45+
/**
46+
* Sets authentication method BearerAuth.
47+
*
48+
* @param string|null $value value of the BearerAuth authentication method
49+
*/
50+
public function setBearerAuth(?string $value): void;
51+
52+
/**
53+
* Operation studioIdPut.
54+
*
55+
* Update a Studio
56+
*
57+
* @param string $id (required)
58+
* @param string $accept_language (optional, default to 'en')
59+
* @param string|null $name The name of the studio (character: min 3, max 180) (optional)
60+
* @param string|null $description A small description about the Studio (character: min 1, max 3000) (optional)
61+
* @param bool|null $is_public This flag sets the studios&#39; visibility to public or private (optional)
62+
* @param bool|null $enable_comments This flag enables or disabled the possibility to add comments to the studio (optional)
63+
* @param UploadedFile|null $image_file Cover image; Size limit 1MB; Supported extensions are jpeg, png, webp; (optional)
64+
* @param int &$responseCode The HTTP Response Code
65+
* @param array $responseHeaders Additional HTTP headers to return with the response ()
66+
*/
67+
public function studioIdPut(
68+
string $id,
69+
string $accept_language,
70+
?string $name,
71+
?string $description,
72+
?bool $is_public,
73+
?bool $enable_comments,
74+
?UploadedFile $image_file,
75+
int &$responseCode,
76+
array &$responseHeaders
77+
): array|object|null;
78+
79+
/**
80+
* Operation studioPost.
81+
*
82+
* Create a new Studio
83+
*
84+
* @param string $accept_language (optional, default to 'en')
85+
* @param string|null $name The name of the studio (character: min 3, max 180) (optional)
86+
* @param string|null $description A small description about the Studio (character: min 1, max 3000) (optional)
87+
* @param bool $is_public This flag sets the studios&#39; 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 Cover image; Size limit 1MB; Supported extensions are jpeg, png, webp; (optional)
90+
* @param int &$responseCode The HTTP Response Code
91+
* @param array $responseHeaders Additional HTTP headers to return with the response ()
92+
*/
93+
public function studioPost(
94+
string $accept_language,
95+
?string $name,
96+
?string $description,
97+
bool $is_public,
98+
bool $enable_comments,
99+
?UploadedFile $image_file,
100+
int &$responseCode,
101+
array &$responseHeaders
102+
): array|object|null;
103+
}

Diff for: Api/UserApiInterface.php

+1-1
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.3
19+
* The version of the OpenAPI document: v1.6.0
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Diff for: Api/UtilityApiInterface.php

+1-1
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.3
19+
* The version of the OpenAPI document: v1.6.0
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Diff for: Controller/AuthenticationController.php

+1-1
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.3
19+
* The version of the OpenAPI document: v1.6.0
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Diff for: Controller/Controller.php

+1-3
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.3
19+
* The version of the OpenAPI document: v1.6.0
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/
@@ -170,8 +170,6 @@ private function exceptionToArray(?\Throwable $exception = null): ?array
170170

171171
/**
172172
* Converts an exception to a serializable array.
173-
*
174-
* @return ?string
175173
*/
176174
protected function getOutputFormat(string $accept, array $produced): ?string
177175
{

Diff for: Controller/MediaLibraryController.php

+1-1
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.3
19+
* The version of the OpenAPI document: v1.6.0
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Diff for: Controller/NotificationsController.php

+1-1
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.3
19+
* The version of the OpenAPI document: v1.6.0
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Diff for: Controller/ProjectsController.php

+1-1
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.3
19+
* The version of the OpenAPI document: v1.6.0
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Diff for: Controller/SearchController.php

+1-1
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.3
19+
* The version of the OpenAPI document: v1.6.0
2020
* Contact: [email protected]
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

0 commit comments

Comments
 (0)