Skip to content

Commit 4563be8

Browse files
committed
Add Warning response and object
1 parent 29c38e6 commit 4563be8

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

openapi.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15577,6 +15577,17 @@ components:
1557715577
type: array
1557815578
items:
1557915579
$ref: '#/components/schemas/ErrorObject'
15580+
WarningResponse:
15581+
description: Warning
15582+
content:
15583+
application/json:
15584+
schema:
15585+
type: object
15586+
properties:
15587+
warnings:
15588+
type: array
15589+
items:
15590+
$ref: '#/components/schemas/WarningObject'
1558015591
parameters:
1558115592
pageOffset:
1558215593
name: page
@@ -22140,6 +22151,21 @@ components:
2214022151
example:
2214122152
- example tag
2214222153
- another example
22154+
WarningObject:
22155+
type: object
22156+
description: >
22157+
An object for describing a single warning for incomplete processing associated with an accepted request.
22158+
properties:
22159+
title:
22160+
type: string
22161+
description: >
22162+
The general warning message.
22163+
example: Unable to reboot Linode.
22164+
details:
22165+
type: string
22166+
description: >
22167+
Specific information related to the warning.
22168+
example: Linode 123 could not be rebooted.
2214322169
tags:
2214422170
- name: Account
2214522171
description: Use the Account endpoints to manage user settings, billing, and payments. You can also initiate and maintain OAuth client application authentication, enable the Linode Managed service, and create new users on your account.

0 commit comments

Comments
 (0)