Skip to content

Commit 0dca6d5

Browse files
Update latest OpenAPI spec (#23)
Co-authored-by: LocalStack Bot <localstack-bot@users.noreply.github.com>
1 parent 48af24c commit 0dca6d5

1 file changed

Lines changed: 25 additions & 1 deletion

File tree

openapi/emulators/localstack-spec-latest.yml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1827,6 +1827,8 @@ paths:
18271827
application/json:
18281828
schema:
18291829
$ref: '#/components/schemas/NetworkEffectsConfig'
1830+
400:
1831+
description: Invalid request
18301832
get:
18311833
summary: Get current network effects configuration
18321834
tags:
@@ -1889,6 +1891,8 @@ paths:
18891891
uniqueItems: true
18901892
items:
18911893
$ref: '#/components/schemas/FaultRule'
1894+
400:
1895+
description: Invalid request
18921896
patch:
18931897
summary: Add a new set of rules to the current configuration
18941898
description: Add new rules to the existing fault configuration.
@@ -1945,6 +1949,8 @@ paths:
19451949
uniqueItems: true
19461950
items:
19471951
$ref: '#/components/schemas/FaultRule'
1952+
400:
1953+
description: Invalid request
19481954
/_localstack/cloudformation/deploy:
19491955
get:
19501956
description: UI to deploy and manage your CloudFormation stacks using public
@@ -1958,6 +1964,8 @@ paths:
19581964
type: string
19591965
format: uri
19601966
responses:
1967+
'404':
1968+
description: Template not found.
19611969
'200':
19621970
description: HTML page for CloudFormation deployment.
19631971
content:
@@ -2089,6 +2097,8 @@ paths:
20892097
application/json:
20902098
schema:
20912099
$ref: '#/components/schemas/PodRemote'
2100+
'404':
2101+
description: Remote not found
20922102
post:
20932103
summary: Create a new remote
20942104
description: Creates a new remote with the specified name and configuration.
@@ -2227,6 +2237,8 @@ paths:
22272237
responses:
22282238
'200':
22292239
description: OK
2240+
'400':
2241+
description: Invalid request
22302242
'500':
22312243
description: Deletion failed
22322244
tags:
@@ -2270,6 +2282,8 @@ paths:
22702282
application/x-ndjson: {}
22712283
description: The response is a sequence of JSON events, according to the
22722284
schema, separated by a newline
2285+
'400':
2286+
description: Invalid request
22732287
tags:
22742288
- pro
22752289
- pods
@@ -2391,6 +2405,10 @@ paths:
23912405
type: array
23922406
items:
23932407
$ref: '#/components/schemas/ReplicationJob'
2408+
'400':
2409+
description: Invalid request
2410+
'415':
2411+
description: Content-Type was not 'application/json'
23942412
/_localstack/replicator/jobs/{job_id}:
23952413
get:
23962414
tags:
@@ -2430,7 +2448,7 @@ paths:
24302448
'200':
24312449
description: List of resources available for replication
24322450
content:
2433-
aplication/json:
2451+
application/json:
24342452
schema:
24352453
additionalProperties: false
24362454
type: array
@@ -2550,6 +2568,8 @@ paths:
25502568
application/json:
25512569
schema:
25522570
$ref: '#/components/schemas/StateResult'
2571+
404:
2572+
description: Service not found
25532573
tags:
25542574
- pro
25552575
- state
@@ -2561,6 +2581,8 @@ paths:
25612581
responses:
25622582
'200':
25632583
description: Successful
2584+
404:
2585+
description: Service not found
25642586
tags:
25652587
- pro
25662588
- state
@@ -2578,6 +2600,8 @@ paths:
25782600
application/json:
25792601
schema:
25802602
$ref: '#/components/schemas/StateResult'
2603+
404:
2604+
description: Service not found
25812605
tags:
25822606
- pro
25832607
- state

0 commit comments

Comments
 (0)