Commit Graph

98 Commits

Author SHA1 Message Date
Dhroov Gupta
adefc21d86 made some changes 2019-07-24 12:51:18 +05:30
Dhroov Gupta
0d5deb9312 handled all the content elements 2019-07-23 15:35:41 +05:30
Dhroov Gupta
11637af22e changed the function name in test 2019-07-22 11:19:55 +05:30
Dhroov Gupta
87b92883b9 made some changes 2019-07-19 16:46:45 +05:30
Dhroov Gupta
1b87fdb492 added a contant variable of header format 2019-07-19 12:04:21 +05:30
Dhroov Gupta
1e42c881a9 made some changes 2019-07-17 14:42:19 +05:30
Dhroov Gupta
59f1bd8378 change the logic of the check content type header function. 2019-07-17 14:08:59 +05:30
Dhroov Gupta
5c710d5e47 changed the name of function 2019-07-16 21:10:38 +05:30
Dhroov Gupta
a9a8c24404 added test for convertPmBodyResponse function 2019-07-15 17:24:27 +05:30
Dhroov Gupta
8ed1be2558 added a function for header checking. 2019-07-15 15:19:06 +05:30
Dhroov Gupta
a3eaf0fbb6 fixed linting errors 2019-07-15 11:54:47 +05:30
Dhroov Gupta
fb10ec257b added support of custom content type for xml as well. 2019-07-15 11:21:53 +05:30
Dhroov Gupta
5ccfd5a6c4 fixed linting errors. 2019-07-12 14:21:08 +05:30
Dhroov Gupta
f1801f8704 added test case for custom content type headers. 2019-07-12 14:11:41 +05:30
Dhroov Gupta
c85d67319d add a generic check for json headers 2019-07-12 12:22:16 +05:30
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