Skip to content

Commit 6d8594b

Browse files
author
Steve Szyszkiewicz
committed
use better deprecation message
1 parent f95a497 commit 6d8594b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docs/src/data/endpoints/linodes.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ endpoints:
5353
The Distribution to deploy this Linode with. May not be included
5454
if 'backup_id' or 'image' is sent.
5555
type: String
56+
deprecated: This parameter will be deprecated once APIv4 out of beta. See changelog for more information.
5657
root_pass:
5758
optional: unless source == "distro"
5859
description: >
@@ -195,7 +196,8 @@ endpoints:
195196
Optional distribution to deploy with this disk.
196197
<ul><li>If no distribution is provided, a blank disk
197198
is created.</li></ul> You may not provide distribution if image is provided.
198-
type: Distribution
199+
type: String
200+
deprecated: This parameter will be deprecated once APIv4 out of beta. See changelog for more information.
199201
image:
200202
optional: true
201203
description: >
@@ -1009,10 +1011,11 @@ endpoints:
10091011
dangerous: true
10101012
params:
10111013
distribution:
1014+
optional: true
10121015
description: >
10131016
An ID of a Distribution to deploy to this Linode.
10141017
type: String
1015-
deprecated: Some deprecated stuff
1018+
deprecated: This parameter will be deprecated once APIv4 out of beta. See changelog for more information.
10161019
image:
10171020
optional: true
10181021
description: >

docs/src/data/objects/linode.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ schema:
7777
type: Distribution
7878
seeAlso: "/reference/endpoints/linode/distributions"
7979
filterable: true
80+
deprecated: This parameter will be deprecated once APIv4 out of beta. See changelog for more information.
8081
group:
8182
editable: true
8283
type: String

0 commit comments

Comments
 (0)