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

Commit fd3793e

Browse files
authored
Merge pull request #85 from Catrobat/create-pull-request/patch-1617621331
Bump autogenerated OpenAPI code
2 parents 52e42ab + 1cf887d commit fd3793e

File tree

92 files changed

+1016
-231
lines changed

Some content is hidden

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

92 files changed

+1016
-231
lines changed

.openapi-generator/FILES

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ Api/AuthenticationApiInterface.php
77
Api/MediaLibraryApiInterface.php
88
Api/NotificationsApiInterface.php
99
Api/ProjectsApiInterface.php
10+
Api/SearchApiInterface.php
1011
Api/UserApiInterface.php
1112
Api/UtilityApiInterface.php
1213
Controller/AuthenticationController.php
1314
Controller/Controller.php
1415
Controller/MediaLibraryController.php
1516
Controller/NotificationsController.php
1617
Controller/ProjectsController.php
18+
Controller/SearchController.php
1719
Controller/UserController.php
1820
Controller/UtilityController.php
1921
DependencyInjection/Compiler/OpenAPIServerApiPass.php
@@ -40,6 +42,7 @@ Model/ProjectsCategory.php
4042
Model/RefreshRequest.php
4143
Model/RegisterErrorResponse.php
4244
Model/RegisterRequest.php
45+
Model/SearchResponse.php
4346
Model/SurveyResponse.php
4447
Model/UpdateUserErrorResponse.php
4548
Model/UpdateUserRequest.php
@@ -53,6 +56,7 @@ Resources/docs/Api/AuthenticationApiInterface.md
5356
Resources/docs/Api/MediaLibraryApiInterface.md
5457
Resources/docs/Api/NotificationsApiInterface.md
5558
Resources/docs/Api/ProjectsApiInterface.md
59+
Resources/docs/Api/SearchApiInterface.md
5660
Resources/docs/Api/UserApiInterface.md
5761
Resources/docs/Api/UtilityApiInterface.md
5862
Resources/docs/Model/BaseUser.md
@@ -77,6 +81,7 @@ Resources/docs/Model/ProjectsCategory.md
7781
Resources/docs/Model/RefreshRequest.md
7882
Resources/docs/Model/RegisterErrorResponse.md
7983
Resources/docs/Model/RegisterRequest.md
84+
Resources/docs/Model/SearchResponse.md
8085
Resources/docs/Model/SurveyResponse.md
8186
Resources/docs/Model/UpdateUserErrorResponse.md
8287
Resources/docs/Model/UpdateUserRequest.md
@@ -92,6 +97,7 @@ Tests/Api/AuthenticationApiInterfaceTest.php
9297
Tests/Api/MediaLibraryApiInterfaceTest.php
9398
Tests/Api/NotificationsApiInterfaceTest.php
9499
Tests/Api/ProjectsApiInterfaceTest.php
100+
Tests/Api/SearchApiInterfaceTest.php
95101
Tests/Api/UserApiInterfaceTest.php
96102
Tests/Api/UtilityApiInterfaceTest.php
97103
Tests/AppKernel.php
@@ -118,6 +124,7 @@ Tests/Model/ProjectsCategoryTest.php
118124
Tests/Model/RefreshRequestTest.php
119125
Tests/Model/RegisterErrorResponseTest.php
120126
Tests/Model/RegisterRequestTest.php
127+
Tests/Model/SearchResponseTest.php
121128
Tests/Model/SurveyResponseTest.php
122129
Tests/Model/UpdateUserErrorResponseTest.php
123130
Tests/Model/UpdateUserRequestAllOfTest.php

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.0.57
19+
* The version of the OpenAPI document: v1.0.58
2020
* Contact: webmaster@catrobat.org
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
@@ -15,7 +15,7 @@
1515
*
1616
* API for the Catrobat Share Platform
1717
*
18-
* The version of the OpenAPI document: v1.0.57
18+
* The version of the OpenAPI document: v1.0.58
1919
* Contact: webmaster@catrobat.org
2020
* Generated by: https://github.com/openapitools/openapi-generator.git
2121
*/

Api/MediaLibraryApiInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* API for the Catrobat Share Platform
1717
*
18-
* The version of the OpenAPI document: v1.0.57
18+
* The version of the OpenAPI document: v1.0.58
1919
* Contact: webmaster@catrobat.org
2020
* Generated by: https://github.com/openapitools/openapi-generator.git
2121
*/

Api/NotificationsApiInterface.php

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* API for the Catrobat Share Platform
1717
*
18-
* The version of the OpenAPI document: v1.0.57
18+
* The version of the OpenAPI document: v1.0.58
1919
* Contact: webmaster@catrobat.org
2020
* Generated by: https://github.com/openapitools/openapi-generator.git
2121
*/
@@ -48,6 +48,18 @@ interface NotificationsApiInterface
4848
*/
4949
public function setPandaAuth($value);
5050

51+
/**
52+
* Operation notificationIdReadPut.
53+
*
54+
* Mark specified notification as read
55+
*
56+
* @param int $id (required)
57+
* @param string $accept_language (optional)
58+
* @param int $responseCode The HTTP response code to return
59+
* @param array $responseHeaders Additional HTTP headers to return with the response ()
60+
*/
61+
public function notificationIdReadPut(int $id, string $accept_language = null, &$responseCode, array &$responseHeaders);
62+
5163
/**
5264
* Operation notificationsCountGet.
5365
*
@@ -65,6 +77,7 @@ public function notificationsCountGet(&$responseCode, array &$responseHeaders);
6577
*
6678
* Get user notifications
6779
*
80+
* @param string $accept_language (optional)
6881
* @param int $limit (optional, default to 20)
6982
* @param int $offset (optional, default to 0)
7083
* @param OpenAPI\Server\Model\NotificationsType $type (optional)
@@ -73,18 +86,7 @@ public function notificationsCountGet(&$responseCode, array &$responseHeaders);
7386
*
7487
* @return OpenAPI\Server\Model\NotificationResponse[]
7588
*/
76-
public function notificationsGet(int $limit = 20, int $offset = 0, NotificationsType $type = null, &$responseCode, array &$responseHeaders);
77-
78-
/**
79-
* Operation notificationsIdReadPut.
80-
*
81-
* Mark specified notification as read
82-
*
83-
* @param int $id (required)
84-
* @param int $responseCode The HTTP response code to return
85-
* @param array $responseHeaders Additional HTTP headers to return with the response ()
86-
*/
87-
public function notificationsIdReadPut(int $id, &$responseCode, array &$responseHeaders);
89+
public function notificationsGet(string $accept_language = null, int $limit = 20, int $offset = 0, NotificationsType $type = null, &$responseCode, array &$responseHeaders);
8890

8991
/**
9092
* Operation notificationsReadPut.

Api/ProjectsApiInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* API for the Catrobat Share Platform
1717
*
18-
* The version of the OpenAPI document: v1.0.57
18+
* The version of the OpenAPI document: v1.0.58
1919
* Contact: webmaster@catrobat.org
2020
* Generated by: https://github.com/openapitools/openapi-generator.git
2121
*/

Api/SearchApiInterface.php

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<?php
2+
/**
3+
* SearchApiInterface
4+
* PHP version 7.1.3
5+
*
6+
* @category Class
7+
* @package OpenAPI\Server
8+
* @author OpenAPI Generator team
9+
* @link https://github.com/openapitools/openapi-generator
10+
*/
11+
12+
/**
13+
* Catroweb API
14+
*
15+
* API for the Catrobat Share Platform
16+
*
17+
* The version of the OpenAPI document: v1.0.58
18+
* Contact: webmaster@catrobat.org
19+
* Generated by: https://github.com/openapitools/openapi-generator.git
20+
*
21+
*/
22+
23+
/**
24+
* NOTE: This class is auto generated by the openapi generator program.
25+
* https://github.com/openapitools/openapi-generator
26+
* Do not edit the class manually.
27+
*/
28+
29+
namespace OpenAPI\Server\Api;
30+
31+
use Symfony\Component\HttpFoundation\File\UploadedFile;
32+
use OpenAPI\Server\Model\SearchResponse;
33+
34+
/**
35+
* SearchApiInterface Interface Doc Comment
36+
*
37+
* @category Interface
38+
* @package OpenAPI\Server\Api
39+
* @author OpenAPI Generator team
40+
* @link https://github.com/openapitools/openapi-generator
41+
*/
42+
interface SearchApiInterface
43+
{
44+
45+
/**
46+
* Operation searchGet
47+
*
48+
* Search for projects, users,...
49+
*
50+
* @param string $query (required)
51+
* @param string $type (optional, default to ''all'')
52+
* @param int $limit (optional, default to 20)
53+
* @param int $offset (optional, default to 0)
54+
* @param integer $responseCode The HTTP response code to return
55+
* @param array $responseHeaders Additional HTTP headers to return with the response ()
56+
*
57+
* @return OpenAPI\Server\Model\SearchResponse
58+
*
59+
*/
60+
public function searchGet(string $query, string $type = ''all'', int $limit = 20, int $offset = 0, &$responseCode, array &$responseHeaders);
61+
}

Api/UserApiInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* API for the Catrobat Share Platform
1717
*
18-
* The version of the OpenAPI document: v1.0.57
18+
* The version of the OpenAPI document: v1.0.58
1919
* Contact: webmaster@catrobat.org
2020
* Generated by: https://github.com/openapitools/openapi-generator.git
2121
*/

Api/UtilityApiInterface.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* API for the Catrobat Share Platform
1717
*
18-
* The version of the OpenAPI document: v1.0.57
18+
* The version of the OpenAPI document: v1.0.58
1919
* Contact: webmaster@catrobat.org
2020
* Generated by: https://github.com/openapitools/openapi-generator.git
2121
*/
@@ -55,10 +55,11 @@ public function healthGet(&$responseCode, array &$responseHeaders);
5555
* Get survey link for given language code.
5656
*
5757
* @param string $lang_code 2 letter Language-Code is based on ISO693-1 (e.g. German &#x3D; de, English &#x3D; en, Russian &#x3D; ru) (required)
58+
* @param string $flavor (optional)
5859
* @param int $responseCode The HTTP response code to return
5960
* @param array $responseHeaders Additional HTTP headers to return with the response ()
6061
*
6162
* @return OpenAPI\Server\Model\SurveyResponse
6263
*/
63-
public function surveyLangCodeGet(string $lang_code, &$responseCode, array &$responseHeaders);
64+
public function surveyLangCodeGet(string $lang_code, string $flavor = null, &$responseCode, array &$responseHeaders);
6465
}

Controller/AuthenticationController.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.0.57
19+
* The version of the OpenAPI document: v1.0.58
2020
* Contact: webmaster@catrobat.org
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

0 commit comments

Comments
 (0)