Commit Graph

89 Commits

Author SHA1 Message Date
Brett Willemsen
da9f54605b Add URI Decoding to getRefObject. 2019-08-07 19:56:13 -04:00
Abhijit Kane
3055ae5fef Merge pull request #99 from postmanlabs/feature/ignore-lack-of-body-props
Handling missing body properties
2019-07-22 18:05:10 +05:30
abhijitkane
9e8e8418ee Adding todos 2019-07-22 17:49:36 +05:30
abhijitkane
65f540bd27 Handling missing body properties 2019-07-22 17:45:18 +05:30
Damien Pitard
acbf12ca34 use (root) as folder name in case two requests are present under the / path 2019-07-08 12:09:45 +02:00
Damien Pitard
beadb19852 Fix crash of the converter if openapi specs contain a root endpoint (path /)
Fix #80
2019-06-18 17:12:28 +02:00
abhijitkane
c8553fb0f8 Updates to tests, adding system tests, lint warning fixes 2019-06-05 12:54:47 +05:30
abhijitkane
b6fd8ab8a4 Trying to parse reference examples as JSON 2019-06-04 14:31:26 +05:30
abhijitkane
ff3058737a Adding auth manually - sdk unreliable 2019-05-29 11:05:25 +05:30
abhijitkane
010886ca0c Accepting non-array defaults for array-type params 2019-05-28 22:01:56 +05:30
abhijitkane
bde859581a Support for x-postman-meta (auth helpers) 2019-05-28 22:01:33 +05:30
Abhijit Kane
1f4bc63f2a Merge pull request #68 from postmanlabs/feature/handle-trailing-slash-in-paths
Not treating empty path segments as folder names
2019-05-26 16:55:33 +05:30
Abhijit Kane
836ff68f50 Merge pull request #66 from postmanlabs/feature/allow-refs-from-path
Allow  to point to paths (handling for ~1 and ~0 in $ref)
2019-05-26 16:50:10 +05:30
abhijitkane
86daecae9d Not treating empty path segments as folder names 2019-05-26 14:02:08 +05:30
abhijitkane
9f989fa749 Allow to point to paths (handling for ~1 and ~0 in ) 2019-05-26 10:56:14 +05:30
Brandon Peterman
f52f38fc14 Gradcefully handle array parameters when schemaFaker is disabled
Fix #64
2019-05-24 14:00:43 -05:00
abhijitkane
0e45228e71 Manually stringifying query param values that are faked as integers 2019-05-21 14:34:26 +05:30
Abhijit Kane
a7d3d3a00c Merge pull request #60 from postmanlabs/feature/proper-syntax-for-url-variables
[Issue#18] - Consistent parsing of all template variables
2019-05-21 13:24:38 +05:30
abhijitkane
3213d79630 Handling -erences in request/response examples 2019-05-21 11:33:26 +05:30
abhijitkane
a2bb828f17 [Issue#18] - Consistent parsing of all template variables 2019-05-15 01:21:53 +05:30
abhijitkane
03f354d4d0 [Github#47] - application/vnd.api+json content type results in an invalid schema 2019-04-12 12:04:54 -07:00
abhijitkane
0729623ef3 Not JSON.stringify-ing string headers 2019-01-14 14:37:34 +05:30
abhijitkane
6ba8dc56f5 Setting postman_previewLanguage externally on the SDK response object, for preservation while exporting collection 2019-01-02 18:59:09 +05:30
abhijitkane
84e88d1d88 Safe property access for empty content/authHelper objects 2019-01-02 11:11:14 +05:30
Abhijit Kane
5cca30f3c2 Merge pull request #6 from postmanlabs/feature/allow-multi-level-component-nesting
Fix for /issues/5
2018-12-17 10:57:55 +05:30
abhijitkane
215c0eb147 Showing detailed error messages if invalid json/yaml 2018-12-16 18:16:26 +05:30
abhijitkane
d5992d19e5 Fix for https://github.com/postmanlabs/openapi-to-postman/issues/5 - headers that have refs to deeper components are correctly generated 2018-12-16 17:29:45 +05:30
abhijitkane
47ab79f082 Ignoring empty responses 2018-12-12 19:00:47 +05:30
abhijitkane
9eac512396 Supporting XML schemas as well, refactoring, moving tests around 2018-12-12 01:22:17 +05:30
abhijitkane
21f1fb53ab Refactoring, comments, moving trie lib to a separate file 2018-12-10 21:51:03 +05:30
abhijitkane
f006539275 Replacing all console.log with console.warn to not pollute sentry 2018-12-07 12:50:13 +05:30
abhijitkane
fb74fbf115 Using the browserified version of json-schema-faker, with no fs dependency 2018-12-05 17:25:29 +05:30
abhijitkane
6355ce3945 Comments 2018-12-05 15:22:29 +05:30
abhijitkane
4f153e0d4d Correctly setting path variable descriptions 2018-12-04 19:21:53 +05:30
abhijitkane
a78669b1fb Refactoring, comments 2018-12-03 22:46:55 +05:30
abhijitkane
9f234bf766 Logging ref not found errors, not throwing exceptions 2018-12-02 13:53:18 +05:30
abhijitkane
39aedd1c36 Resolving parameter schemas while creating requests 2018-12-02 13:42:50 +05:30
abhijitkane
0e8a1a3473 Lint fixes 2018-11-30 11:34:23 +05:30
abhijitkane
146cc21c20 Updating tests to use the new responseBody signature 2018-11-30 11:30:26 +05:30
abhijitkane
197f51adfc Populating the original request property in example responses 2018-11-30 11:21:43 +05:30
abhijitkane
57e0e73015 Infer response content-type from response header 2018-11-30 11:14:25 +05:30
abhijitkane
d693da2ee4 Insert spaces in snake_case/camelCase request/folder names 2018-11-30 11:09:22 +05:30
abhijitkane
0f697be226 Adding comments, basic refactoring for readability 2018-11-29 18:56:10 +05:30
abhijitkane
a181886936 Handling nested schemas, correct handling for oneOf/anyOf 2018-11-29 11:22:00 +05:30
abhijitkane
f860545021 Fixing tests, lint fixes 2018-11-29 08:49:16 +05:30
abhijitkane
b73d7c6a94 Handling securitySet = empty-array 2018-11-28 21:08:54 +05:30
abhijitkane
b1bca7f05e Ignoring errors in schema faking 2018-11-28 20:48:24 +05:30
abhijitkane
fd316c6111 Correctly using the scheme variables in the URL as collection variables 2018-11-28 20:38:22 +05:30
abhijitkane
5f3b8f7716 Using examples before schemas while converting response bodies 2018-11-28 19:47:04 +05:30
pavantejap
77de539545 add support for new error type openApiErr. 2018-11-14 19:20:47 +05:30