Skip to content

Commit

Permalink
fix: update example values in order schemas
Browse files Browse the repository at this point in the history
- Added example for customerId in ProjectHostingOrder.
- Updated diskspaceInGiB example value to 20 in ProjectHostingOrder, ProjectHostingOrderPreview, and ProjectHostingTariffChange.
- Changed recommendationCode example value to 'mp-123456' in ProjectHostingOrder and ServerOrder.
  • Loading branch information
mittwald-machine committed Nov 4, 2024
1 parent c28ba39 commit a6b39ec
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/Generated/V2/Schemas/Order/ProjectHostingOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,23 @@ class ProjectHostingOrder
private static array $schema = [
'properties' => [
'customerId' => [
'example' => '0f5ec9cd-1b1b-4850-9061-fcebe765c62d',
'type' => 'string',
],
'description' => [
'example' => 'My first project',
'type' => 'string',
],
'diskspaceInGiB' => [
'example' => 10,
'example' => 20,
'type' => 'number',
],
'promotionCode' => [
'example' => '123456',
'type' => 'string',
],
'recommendationCode' => [
'example' => 'm-123456',
'example' => 'mp-123456',
'type' => 'string',
],
'spec' => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ProjectHostingOrderPreview
'type' => 'string',
],
'diskspaceInGiB' => [
'example' => 10,
'example' => 20,
'type' => 'number',
],
'spec' => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ProjectHostingTariffChange
'type' => 'string',
],
'diskspaceInGiB' => [
'example' => 10,
'example' => 20,
'type' => 'number',
],
'spec' => [
Expand Down
2 changes: 1 addition & 1 deletion src/Generated/V2/Schemas/Order/ServerOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ServerOrder
'type' => 'string',
],
'recommendationCode' => [
'example' => 'm-123456',
'example' => 'mp-123456',
'type' => 'string',
],
'useFreeTrial' => [
Expand Down

0 comments on commit a6b39ec

Please sign in to comment.