8000 adding some components · localstack/localstack@8f18616 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8f18616

Browse files
committed
adding some components
1 parent ac4c50b commit 8f18616

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

localstack-core/localstack/openapi.yaml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line nu 8000 mberDiff line change
@@ -211,6 +211,29 @@ components:
211211
- error
212212
- subscription_arn
213213
type: object
214+
ReceiveMessageResult:
215+
type: object
216+
description: https://github.com/boto/botocore/blob/develop/botocore/data/sqs/2012-11-05/service-2.json
217+
properties:
218+
Messages:
219+
type: array
220+
items:
221+
$ref: '#/components/schemas/Message'
222+
Message:
223+
type: object
224+
properties:
225+
MessageId:
226+
type: [string, 'null']
227+
ReceiptHandle:
228+
type: [string, 'null']
229+
MD5OfBody:
230+
type: [string, 'null']
231+
Body:
232+
type: [string, 'null']
233+
Attributes:
234+
type: object
235+
MessageAttributes:
236+
type: object
214237
CloudWatchMetrics:
215238
additionalProperties: false
216239
properties:
@@ -529,7 +552,9 @@ paths:
529552
'200':
530553
content:
531554
text/xml: {}
532-
application/json: {}
555+
application/json:
556+
schema:
557+
$ref: '#/components/schemas/ReceiveMessageResult'
533558
description: SQS queue messages
534559
'400':
535560
content:
@@ -569,7 +594,9 @@ paths:
569594
'200':
570595
content:
571596
text/xml: {}
572-
application/json: {}
597+
application/json:
598+
schema:
599+
$ref: '#/components/schemas/ReceiveMessageResult'
573600
description: SQS queue messages
574601
'400':
575602
content:

0 commit comments

Comments
 (0)
0