Skip to content

Commit

Permalink
fixed lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
imaskm committed Nov 26, 2024
1 parent 531c4d6 commit 87bd148
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 17 deletions.
7 changes: 7 additions & 0 deletions specification/DigitalOcean-public.v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,13 @@ tags:
setups or other configurations requiring movable addresses.
Reserved IPv6s are bound to a specific region.
- name: Reserved IPv6 Actions
description: |-
Reserved IPv6 actions requests are made on the actions endpoint of a specific
reserved IPv6.
An action object is returned. These objects hold the current status of the
requested action.
- name: Sizes
description: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,5 @@ properties:

droplet:
$ref: '../../droplets/models/droplet.yml'
type: object
description: The Droplet that the reserved IPv6 has been assigned to. When
you query a reserved IPv6, if it is assigned to a Droplet, the entire
Droplet object will be returned. If it is not assigned, nothing will be returned



Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
- title: Reserve to Region
type: object
properties:
region_slug:
type: string
example: nyc3
description: The slug identifier for the region the reserved IPv6 will be reserved to.
required:
- region_slug
title: Reserve to Region
type: object
properties:
region_slug:
type: string
example: nyc3
description: The slug identifier for the region the reserved IPv6 will be reserved to.
required:
- region_slug
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ requestBody:

responses:
'202':
$ref: 'responses/reserved_ipv6_created.yml'
$ref: 'responses/reserved_ipv6_create.yml'

'401':
$ref: '../../shared/responses/unauthorized.yml'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ content:
$ref: '../../../shared/models/action_link.yml'

examples:
reserved_ipv6_reserving:
$ref: 'examples.yml#/reserved_ipv6_reserving'
reserved_ipv6_reserved:
$ref: 'examples.yml#/reserved_ipv6_reserved'

0 comments on commit 87bd148

Please sign in to comment.