Skip to content

Commit

Permalink
Merge pull request #154 from Catrobat/create-pull-request/patch-17250…
Browse files Browse the repository at this point in the history
…40455

Bump autogenerated OpenAPI code
  • Loading branch information
dmetzner authored Aug 30, 2024
2 parents 2559762 + 3c527aa commit e655deb
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Model/DryRun.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class DryRun
/**
* Indicates wether a request should only be verified or executed.
*
* @SerializedName("dry-run")
* @SerializedName("dry_run")
*
* @Assert\Type("bool")
*
Expand Down
2 changes: 1 addition & 1 deletion Model/ProjectsCategory.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class ProjectsCategory
*
* @var ProjectResponse[]|null
*
* @SerializedName("projectsList")
* @SerializedName("projects_list")
*
* @Assert\All({
*
Expand Down
2 changes: 1 addition & 1 deletion Model/RegisterRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class RegisterRequest
/**
* Indicates wether a request should only be verified or executed.
*
* @SerializedName("dry-run")
* @SerializedName("dry_run")
*
* @Assert\Type("bool")
*
Expand Down
2 changes: 1 addition & 1 deletion Model/UpdateUserErrorResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class UpdateUserErrorResponse
protected ?string $password = null;

/**
* @SerializedName("currentPassword")
* @SerializedName("current_password")
*
* @Assert\Choice({ "Current password is missing", "Current password is wrong" })
*
Expand Down
4 changes: 2 additions & 2 deletions Model/UpdateUserRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class UpdateUserRequest
/**
* Indicates wether a request should only be verified or executed.
*
* @SerializedName("dry-run")
* @SerializedName("dry_run")
*
* @Assert\Type("bool")
*
Expand Down Expand Up @@ -120,7 +120,7 @@ class UpdateUserRequest
/**
* The current password of the user. Required for changing the password.
*
* @SerializedName("currentPassword")
* @SerializedName("current_password")
*
* @Assert\Type("string")
*
Expand Down
2 changes: 1 addition & 1 deletion docs/Api/UserApiInterface.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ No authorization required
Register

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.
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.

### Example Implementation
```php
Expand Down

0 comments on commit e655deb

Please sign in to comment.