Skip to content

Commit 41ebfd6

Browse files
committed
Fix security questions list cli output
1 parent 806992d commit 41ebfd6

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

openapi.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17260,6 +17260,8 @@ paths:
1726017260
x-linode-cli-command: security-questions
1726117261
get:
1726217262
x-linode-grant: read_only
17263+
servers:
17264+
- url: https://api.linode.com/v4
1726317265
tags:
1726417266
- Profile
1726517267
summary: Security Questions List
@@ -17276,6 +17278,16 @@ paths:
1727617278
description: Returns a list of security questions.
1727717279
content:
1727817280
application/json:
17281+
x-linode-cli-nested-list: security_questions
17282+
x-linode-cli-use-schema:
17283+
type: object
17284+
properties:
17285+
security_questions.id:
17286+
x-linode-cli-display: 1
17287+
security_questions.question:
17288+
x-linode-cli-display: 2
17289+
security_questions.response:
17290+
x-linode-cli-display: 3
1727917291
schema:
1728017292
$ref: '#/components/schemas/SecurityQuestionsGet'
1728117293
default:
@@ -17332,15 +17344,15 @@ paths:
1733217344
"security_questions": [
1733317345
{
1733417346
"question_id": 1,
17335-
"response": "Gotham City"
17347+
"response": "secret answer 1"
1733617348
},
1733717349
{
1733817350
"question_id": 2,
17339-
"response": "Gotham City"
17351+
"response": "secret answer 2"
1734017352
},
1734117353
{
1734217354
"question_id": 11,
17343-
"response": "Gotham City"
17355+
"response": "secret answer 3"
1734417356
}
1734517357
]
1734617358
}' \

0 commit comments

Comments
 (0)