Skip to content

Commit 4ccd23e

Browse files
committed
Swagger - Furether attempt to fix the management warning.
1 parent 742bc72 commit 4ccd23e

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

Swagger/AlpacaManagementAPI_v1.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,14 @@ paths:
118118
schema:
119119
type: string
120120
description: HTML page with device information.
121-
'500':
121+
'400':
122+
description: 'The device did not understand the command.'
123+
content:
124+
text/html:
125+
schema:
126+
type: string
127+
description: HTML message describing the issue.
128+
'500':
122129
description: Server internal error so return an error message
123130
content:
124131
text/html:

Swagger/redoclyconfig.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,3 @@ extends:
44
rules:
55
operation-operationId: off
66
no-empty-servers: off
7-
8-
# This file instructs Redocly's linter to ignore the rules contained for specific parts of your API.
9-
# See https://redoc.ly/docs/cli/ for more information.
10-
Swagger/AlpacaManagementAPI_v1.yaml:
11-
# /setup endpoint must always be present
12-
operation-4xx-response:
13-
- '#/paths/~1setup/get/responses'

0 commit comments

Comments
 (0)