Skip to content

Commit a495dfb

Browse files
committed
fix: lint
1 parent c8a507e commit a495dfb

File tree

4 files changed

+6
-16
lines changed

4 files changed

+6
-16
lines changed

specification/resources/byoip_prefixes/models/byoip_prefix.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,15 @@ byoip_prefix:
3030
name:
3131
type: string
3232
description: Name of the validation
33+
example: "SIGNATURE HASH"
3334
status:
3435
type: string
3536
description: Status of the validation
37+
example: "FAILED"
3638
note:
3739
type: string
3840
description: Additional notes or details about the validation
39-
example:
40-
- name: "validation_name"
41-
status: "pending"
42-
note: "Validation in progress"
41+
example: ""
4342
failure_reason:
4443
type: string
4544
description: Reason for failure, if applicable

specification/resources/byoip_prefixes/models/byoip_prefix_resource.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,3 @@ byoip_prefix_resource:
2323
format: date-time
2424
description: Time when the allocation was assigned
2525
example: 2025-06-25T12:00:00Z
26-
required:
27-
- ips
28-
- links
29-
- meta

specification/resources/byoip_prefixes/responses/byoip_prefix_create.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ byoip_prefix_create:
1111

1212
content:
1313
application/json:
14+
example:
15+
$ref: 'examples.yml#/byoip_prefix_create'
1416
schema:
1517
type: object
1618
properties:
@@ -26,10 +28,3 @@ byoip_prefix_create:
2628
type: string
2729
description: The status of the BYOIP prefix
2830
example: "in_progress"
29-
examples:
30-
in_progress:
31-
value:
32-
byoip_prefix:
33-
uuid: f47ac10b-58cc-4372-a567-0e02b2c3d479
34-
status: in_progress
35-
region: nyc3

specification/resources/byoip_prefixes/responses/examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ byoip_prefix_resources_list:
4444
region: nyc3
4545
resource: "do:droplet:fa3c10b-58cc-4372-a567-0e02b2c3d480"
4646
assigned_at: 2025-06-25T13:00:00Z
47-
links:
47+
links: {}
4848
meta:
4949
total: 2

0 commit comments

Comments
 (0)