Commit Graph

86 Commits

Author SHA1 Message Date
Vishal Shingala
e6b3bb464d Fixed issue where validation was giving INVALID_TYPE instead of MISSING_IN_REQUEST if path variable is not present in transaction 2021-10-05 13:01:39 +05:30
umeshp7
ef929f147e Use browser as top level const 2021-06-23 10:08:12 +05:30
umeshp7
2381497122 Add handling for browser in getRootFiles function 2021-06-15 15:29:56 +05:30
umeshp7
2f35ade6fd Use pathBrowserify when origin is browser 2021-06-14 23:17:29 +05:30
Vishal Shingala
490aa6bbf0 Merge branch 'develop' of github.com:postmanlabs/openapi-to-postman into feature/windows-import-folder-fix 2021-01-28 18:50:08 +05:30
Vishal Shingala
b9306731b0 Fixed issue where collection did not contain name for specification with empty string as title 2021-01-28 16:31:11 +05:30
Vishal Shingala
f9bda0276a Use process instead of window to decide path module to facilitate electron apps 2020-12-29 02:08:52 +05:30
Vishal Shingala
bdd163fca6 Fixed issue with import folder flow on windows 2020-12-21 12:02:57 +05:30
Vishal Shingala
b5f9fb1c49 Added support for Auth params in response/example. (#286)
* Added support for correct auth params in original request of response

* Updated collection json schema to latest

* Added tests for feature - response auth params support

* Moved auth params in response behind an option

* Updated option name and description to follow consistent casing

* Updated option id for including auth params in response to be more suitable

Co-authored-by: Vishal Shingala <vishalkumar.shingala@postman.com>
2020-09-09 12:28:17 +05:30
Vishal Shingala
1215d9de15 Added support for internal $ref resolution in validation flows 2020-09-01 17:55:51 +05:30
umeshp7
e4c8bcf6a1 fix incorrect variable calling 2020-07-17 12:15:24 +05:30
umeshp7
d555e1f791 Add missing variable 2020-07-15 01:21:30 +05:30
umeshp7
782e213e5d Merge develop into performance-improvements 2020-07-14 15:56:22 +05:30
Vishal Shingala
0a2c221d29 Added support for collection variables for local servers in suggested request for validation. (#247)
* Added support for collection variables for local servers in suggested request

* Suggest collection variable from baseUrl and vars if no path level servers are defined

* Keep endpoint prop same across all schema

* Fixed invalid Url and collection variable when path level server was present

* To not include variable generated from empty server object

* Rebased branch to update variable name handling in missing endpoint suggestion

* Updated variable name handling to more readable format

* fixed wrong checking for path level servers

* Fixed issue where path level server was always picked up

* Fixed failing test

Co-authored-by: Vishal Shingala <vishalkumar.shingala@postman.com>
Co-authored-by: Abhijit Kane <abhijitkane@gmail.com>
2020-07-14 11:23:17 +05:30
umeshp7
a26d59fd45 Merge branch 'develop' into feature/performance-improvements 2020-07-08 16:48:58 +05:30
umeshp7
7a8103eff7 Use optimizeConversion in validateTransaction function 2020-07-08 10:58:26 +05:30
umeshp7
7ab167aa94 Add a global conversion option called optimizeConversion 2020-07-08 10:38:26 +05:30
Vishal Shingala
69d38cb048 Keep matched path var value as is if no transaction path variable found 2020-07-07 18:35:53 +05:30
Vishal Shingala
33ad0f9800 Fixed issue where mismatch was happening even when correct path var is present 2020-07-06 17:51:58 +05:30
Umesh Pathak
f7483ba914 Merge pull request #239 from postmanlabs/feature/oas-resolver-update
Updates for making oas resolver work on browser
2020-06-29 12:30:10 +05:30
umeshp7
dcad5ea832 Use in operator to check for content in input.data 2020-06-29 11:55:57 +05:30
umeshp7
359acb6d77 Change stack limit on the basis of spec size, and complexity 2020-06-24 21:18:12 +05:30
Abhijit Kane
a7273ff03d Merge pull request #243 from postmanlabs/feature/missing-endpoint-suggestion
Suggest request for missing endpoints in collection.
2020-06-23 11:04:19 +05:30
Vishal Shingala
948ef2505d Suggest fix for missing endpoints in collection 2020-06-22 16:52:31 +05:30
umeshp7
8278411a2c Merge develop into feature/oas-resolver-update 2020-06-19 21:40:34 +05:30
umeshp7
0bbcb11953 Add appropriate comments wherever necessary 2020-06-19 21:36:08 +05:30
Vishal Shingala
f455853483 Added support for validating content type header correctly 2020-06-17 16:15:54 +05:30
umeshp7
5c0558cfa5 Add test for browser folder upload and add fix for other OSes using path-browserify 2020-06-17 02:12:57 +05:30
umeshp7
f48b342a2d Updates for making oas resolver work on browser 2020-06-15 17:29:06 +05:30
Vishal Shingala
a6d78eda2b Merge branch 'develop' of github.com:postmanlabs/openapi-to-postman into feature/suggest-fixes 2020-06-14 23:34:33 +05:30
Abhijit Kane
8626dce828 Merge pull request #222 from postmanlabs/feature/strict-request-matching
Strict request matching for validation.
2020-06-14 23:20:30 +05:30
Abhijit Kane
dd03a65f9e Merge pull request #228 from postmanlabs/feature/missing-endpoints
Added support for missing endpoints in collection.
2020-06-14 23:18:08 +05:30
Vishal Shingala
e1d7fef590 Fixed invalid/no matches incase path variable value is empty in collection 2020-06-10 14:26:52 +05:30
Vishal Shingala
981018e260 Added support for metadata validation 2020-06-03 18:09:10 +05:30
Vishal Shingala
e08e2e0158 Added support for missing endpoints in collection 2020-06-02 11:55:31 +05:30
Vishal Shingala
2c422728f0 Added support for suggesting available fixes 2020-06-01 19:09:48 +05:30
umeshp7
8782534f43 Update auth assignment at collection level 2020-06-01 11:46:29 +05:30
umeshp7
4e4cc319d5 Add test case for empty auth at collection level 2020-05-29 15:04:14 +05:30
Vishal Shingala
65ec7f877c Added support for strict request matching option 2020-05-28 16:49:58 +05:30
umeshp7
b5f546d15d Add global level security schemes to collection level auth 2020-05-21 05:22:04 +05:30
Abhijit Kane
bb054b0e83 Merge pull request #206 from postmanlabs/feature/support-nullable
Added support for nullable keyword in Validation.
2020-05-14 23:28:19 +05:30
Vishal Shingala
e25e234fa0 Added support for using Tags for folder creation (folderStrategy option) 2020-05-11 14:54:55 +05:30
umeshp7
46b7913911 Merge develop into feature/meta-data-function 2020-04-27 21:01:19 +05:30
umeshp7
1e344ae7ba change getMetaData function to be async and add tests 2020-04-27 20:49:35 +05:30
Vishal Shingala
537b2a8e61 Added support for nullable keyword. 2020-04-27 13:05:34 +05:30
Vishal Shingala
f783d37172 Updated options name and description and added support for criteria searching for getOptions() 2020-04-23 19:17:31 +05:30
umeshp7
29c0d8ec4e Update output of metaData function, info.title is the name of the spec 2020-04-20 14:15:14 +05:30
umeshp7
90c555ab58 Add getMetaData function 2020-04-20 14:09:21 +05:30
shreys7
6ade6896d8 Correct punctuations in option descriptions and change indent option values 2020-04-07 13:21:33 +05:30
Umesh Pathak
3c4c2d82b1 Add path variable handling for special cases (#171) 2020-03-26 04:33:13 +05:30