Skip to content

Commit efa0f76

Browse files
Josh SagerGitHub Enterprise
authored andcommitted
Merge pull request #63 from wsmith/more-bugfixes
Fixed more bugs uncovered by the CLI
2 parents f97d96d + 3f71da8 commit efa0f76

File tree

1 file changed

+38
-29
lines changed

1 file changed

+38
-29
lines changed

openapi.yaml

Lines changed: 38 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,7 +1251,14 @@ paths:
12511251
content:
12521252
application/json:
12531253
schema:
1254-
$ref: '#/components/schemas/PayPalExecute'
1254+
type: object
1255+
properties:
1256+
payment_id:
1257+
type: string
1258+
description: >
1259+
The paypal-generated ID for this payment. Used when
1260+
authorizing the payment in PayPal's interface.
1261+
example: PAY-1234567890ABCDEFGHIJKLMN
12551262
default:
12561263
$ref: '#/components/responses/ErrorResponse'
12571264
x-code-samples:
@@ -2601,36 +2608,36 @@ paths:
26012608
allOf:
26022609
- $ref: '#/components/schemas/LinodeRequest'
26032610
- $ref: '#/components/schemas/LinodeBase'
2604-
properties:
2605-
backup_id:
2606-
type: integer
2607-
title: The ID of a Linode Backup
2608-
example: 1234
2609-
description: |
2610-
A Backup ID from another Linode's available backups. Your user must have
2611-
`read_write` access to that Linode, the backup must have a `status` of
2612-
`successful`, and the Linode must be deployed to the same `region` as the backup.
2613-
See [GET /linode/instances/{linodeId}/backups](/#operation/getBackups)
2614-
for a Linode's available backups.
2611+
- properties:
2612+
backup_id:
2613+
type: integer
2614+
title: The ID of a Linode Backup
2615+
example: 1234
2616+
description: |
2617+
A Backup ID from another Linode's available backups. Your user must have
2618+
`read_write` access to that Linode, the backup must have a `status` of
2619+
`successful`, and the Linode must be deployed to the same `region` as the backup.
2620+
See [GET /linode/instances/{linodeId}/backups](/#operation/getBackups)
2621+
for a Linode's available backups.
26152622
2616-
This field and the `image` field are mutually exclusive.
2617-
backups_enabled:
2618-
type: boolean
2619-
title: If Backups should be enabled.
2620-
description: |
2621-
If this field is set to `true`, the created Linode will automatically be
2622-
enrolled in the Linode Backup service. This will incur an additional charge.
2623-
The cost for the Backup service is dependent on the type of Linode deployed.
2623+
This field and the `image` field are mutually exclusive.
2624+
backups_enabled:
2625+
type: boolean
2626+
title: If Backups should be enabled.
2627+
description: |
2628+
If this field is set to `true`, the created Linode will automatically be
2629+
enrolled in the Linode Backup service. This will incur an additional charge.
2630+
The cost for the Backup service is dependent on the type of Linode deployed.
26242631
2625-
Backup pricing is included in the response from [GET /linodes/types](/#operation/getLinodeTypes)
2626-
swap_size:
2627-
type: integer
2628-
title: Swap Disk size in MB
2629-
example: 512
2630-
description: >
2631-
When deploying from an Image, this field is optional, otherwise it is ignored.
2632-
This is used to set the Swap Disk size for the newly created Linode.
2633-
default: 512
2632+
Backup pricing is included in the response from [GET /linodes/types](/#operation/getLinodeTypes)
2633+
swap_size:
2634+
type: integer
2635+
title: Swap Disk size in MB
2636+
example: 512
2637+
description: >
2638+
When deploying from an Image, this field is optional, otherwise it is ignored.
2639+
This is used to set the Swap Disk size for the newly created Linode.
2640+
default: 512
26342641
responses:
26352642
'200':
26362643
description: >
@@ -3280,6 +3287,8 @@ paths:
32803287
description: >
32813288
All disks attached to configs will be cloned from the
32823289
source Linode if not provided.
3290+
items:
3291+
type: integer
32833292
configs:
32843293
type: array
32853294
title: List of config IDs to include.

0 commit comments

Comments
 (0)