-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2022 from aml-org/W-16246407-asyncjson
W-16246407 - Fix handle of method string kind
- Loading branch information
Showing
4 changed files
with
54 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
amf-cli/shared/src/test/resources/upanddown/cycle/async20/message-json.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"asyncapi": "2.6.0", | ||
"info": { | ||
"title": "async-json", | ||
"version": "1.0.0" | ||
}, | ||
"channels": { | ||
"CANCELLATIONS": { | ||
"subscribe": { | ||
"message": { | ||
"payload": { | ||
"type": "object", | ||
"required": [ | ||
"orderid" | ||
], | ||
"properties": { | ||
"orderid": { | ||
"description": "id of the order that was cancelled", | ||
"type": "string", | ||
"format": "uuid" | ||
} | ||
} | ||
}, | ||
"contentType": "application/json" | ||
} | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
amf-cli/shared/src/test/resources/upanddown/cycle/async20/message-json.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
asyncapi: 2.6.0 | ||
info: | ||
title: async-json | ||
version: 1.0.0 | ||
channels: | ||
CANCELLATIONS: | ||
subscribe: | ||
message: | ||
payload: | ||
type: object | ||
required: | ||
- orderid | ||
properties: | ||
orderid: | ||
description: id of the order that was cancelled | ||
type: string | ||
format: uuid | ||
contentType: application/json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters