-
-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support for postman-collection conversion to asyncapi (#1527)
Co-authored-by: Ashish Padhy <[email protected]>%0ACo-authored-by: asyncapi-bot <[email protected]>
- Loading branch information
1 parent
8f7b019
commit ec996f4
Showing
5 changed files
with
185 additions
and
43 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
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
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
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,38 @@ | ||
info: | ||
name: Sample Postman Collection | ||
schema: 'https://schema.getpostman.com/json/collection/v2.1.0/collection.json' | ||
item: | ||
- name: Sample Request | ||
request: | ||
method: GET | ||
header: [] | ||
url: | ||
raw: 'https://jsonplaceholder.typicode.com/posts/1' | ||
protocol: https | ||
host: | ||
- jsonplaceholder | ||
- typicode | ||
- com | ||
path: | ||
- posts | ||
- '1' | ||
response: [] | ||
- name: Sample POST Request | ||
request: | ||
method: POST | ||
header: | ||
- key: Content-Type | ||
value: application/json | ||
body: | ||
mode: raw | ||
raw: '{ "title": "foo", "body": "bar", "userId": 1 }' | ||
url: | ||
raw: 'https://jsonplaceholder.typicode.com/posts' | ||
protocol: https | ||
host: | ||
- jsonplaceholder | ||
- typicode | ||
- com | ||
path: | ||
- posts | ||
response: [] |
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