-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(oas): introduce support for examples vendor extensions in Swagge…
…r converter closes #224
- Loading branch information
Showing
39 changed files
with
1,939 additions
and
148 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
48 changes: 48 additions & 0 deletions
48
packages/oas/tests/fixtures/x-example.body.api-connect.swagger.result.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,48 @@ | ||
[ | ||
{ | ||
"queryString": [], | ||
"cookies": [], | ||
"method": "POST", | ||
"headers": [ | ||
{ | ||
"value": "application/json", | ||
"name": "content-type" | ||
}, | ||
{ | ||
"value": "application/json", | ||
"name": "accept" | ||
} | ||
], | ||
"httpVersion": "HTTP/1.1", | ||
"headersSize": 0, | ||
"bodySize": 0, | ||
"postData": { | ||
"mimeType": "application/json", | ||
"text": "[{\"name\":\"x_example_name\",\"age\":30}]" | ||
}, | ||
"url": "https://example.com/sample" | ||
}, | ||
{ | ||
"queryString": [], | ||
"cookies": [], | ||
"method": "PUT", | ||
"headers": [ | ||
{ | ||
"value": "application/json", | ||
"name": "content-type" | ||
}, | ||
{ | ||
"value": "application/json", | ||
"name": "accept" | ||
} | ||
], | ||
"httpVersion": "HTTP/1.1", | ||
"headersSize": 0, | ||
"bodySize": 0, | ||
"postData": { | ||
"mimeType": "application/json", | ||
"text": "{\"name\":\"x_example_name\",\"age\":30}" | ||
}, | ||
"url": "https://example.com/sample/123" | ||
} | ||
] |
Oops, something went wrong.