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

Commit e655deb

Browse files
authored
Merge pull request #154 from Catrobat/create-pull-request/patch-1725040455
Bump autogenerated OpenAPI code
2 parents 2559762 + 3c527aa commit e655deb

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

Model/DryRun.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class DryRun
4343
/**
4444
* Indicates wether a request should only be verified or executed.
4545
*
46-
* @SerializedName("dry-run")
46+
* @SerializedName("dry_run")
4747
*
4848
* @Assert\Type("bool")
4949
*

Model/ProjectsCategory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class ProjectsCategory
6767
*
6868
* @var ProjectResponse[]|null
6969
*
70-
* @SerializedName("projectsList")
70+
* @SerializedName("projects_list")
7171
*
7272
* @Assert\All({
7373
*

Model/RegisterRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class RegisterRequest
4343
/**
4444
* Indicates wether a request should only be verified or executed.
4545
*
46-
* @SerializedName("dry-run")
46+
* @SerializedName("dry_run")
4747
*
4848
* @Assert\Type("bool")
4949
*

Model/UpdateUserErrorResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class UpdateUserErrorResponse
7474
protected ?string $password = null;
7575

7676
/**
77-
* @SerializedName("currentPassword")
77+
* @SerializedName("current_password")
7878
*
7979
* @Assert\Choice({ "Current password is missing", "Current password is wrong" })
8080
*

Model/UpdateUserRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class UpdateUserRequest
4343
/**
4444
* Indicates wether a request should only be verified or executed.
4545
*
46-
* @SerializedName("dry-run")
46+
* @SerializedName("dry_run")
4747
*
4848
* @Assert\Type("bool")
4949
*
@@ -120,7 +120,7 @@ class UpdateUserRequest
120120
/**
121121
* The current password of the user. Required for changing the password.
122122
*
123-
* @SerializedName("currentPassword")
123+
* @SerializedName("current_password")
124124
*
125125
* @Assert\Type("string")
126126
*

docs/Api/UserApiInterface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ No authorization required
186186
187187
Register
188188

189-
Register a user. For pre-validation use the dry-run option. Using Dry run the request is validated but no object is created on the server.
189+
Register a user. For pre-validation use the dry_run option. Using Dry run the request is validated but no object is created on the server.
190190

191191
### Example Implementation
192192
```php

0 commit comments

Comments
 (0)