Commit Graph

324 Commits

Author SHA1 Message Date
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
Abhijit Kane
8155496204 Merge pull request #219 from postmanlabs/feature/fix-formdata-body
Fixes non added type property of form-param in collection generation.
2020-06-14 19:52:02 +05:30
Vishal Shingala
fb079ae2ce Use faked value as example if schema example is invalid 2020-06-14 18:54:08 +05:30
umeshp7
08255cd4ee Add an extra check to test auth defaults to null 2020-06-12 12:12:30 +05:30
umeshp7
e4c88668a5 Update the auth default to null, for inherit from auth 2020-06-12 11:44:26 +05:30
Vishal Shingala
bece1e3f06 Fixed datapath access for when path starts with array 2020-06-09 21:21:12 +05:30
Vishal Shingala
e16f2c9488 Merge branch 'feature/validate-metadata' of github.com:postmanlabs/openapi-to-postman into feature/ingonre-variable-mismatches 2020-06-09 17:07:41 +05:30
Vishal Shingala
c8376abe59 Merge branch 'feature/suggest-fixes' of github.com:postmanlabs/openapi-to-postman into feature/validate-metadata 2020-06-09 17:06:22 +05:30
Vishal Shingala
119ff6e00c Fixed bug where no response header mismatches where returned if no headers are defined in schema 2020-06-09 12:16:58 +05:30
Vishal Shingala
b9fbe62920 Fixed MISSING_IN_SCHEMA response headers where empty array was sent previously 2020-06-08 21:19:03 +05:30
Vishal Shingala
0bf8963e84 Updated transaction path to reflect actual path where property is missing 2020-06-08 12:19:08 +05:30
Vishal Shingala
b11a305609 Merge branch 'feature/suggest-fixes' of github.com:postmanlabs/openapi-to-postman into feature/validate-metadata 2020-06-08 00:38:09 +05:30
Vishal Shingala
2ef0eee80e Updated value returned for MISSING_IN_REQUEST to include actual object header, queryparam or path variable instead of only value 2020-06-08 00:21:37 +05:30
Vishal Shingala
60d921edfe Updated mismatch reason for response body to include prop name 2020-06-08 00:04:41 +05:30
Vishal Shingala
2a1a06be39 Fixed dataPath incase of array where leading . does not exist 2020-06-07 23:56:07 +05:30
Vishal Shingala
3faad76755 Updated request description to handle case when description is object 2020-06-05 16:27:13 +05:30
Vishal Shingala
24700da553 Addressed comments regarding description change for option strictRequestMatching and updated variable matching to be priorotized over fixed matching 2020-06-05 12:37:01 +05:30
Vishal Shingala
f8d0b9e285 Addressed comments regarding description change of ignoreUnresolvedVariables option, moved unsupported keywords to global const and made isPmVariable function global 2020-06-05 11:53:12 +05:30
Vishal Shingala
4cddb6a61f Fixed indefined validate.errors in case of failed validation 2020-06-04 13:10:54 +05:30
Vishal Shingala
db0d7e5a93 Used variable matched segments too for ordering matched endpoints in result 2020-06-04 11:39:11 +05:30
Vishal Shingala
af69508117 Fixed invalid path to request description 2020-06-04 11:21:21 +05:30
Vishal Shingala
1cdf63a37c Fixed invalid handling of missing endpoints array 2020-06-04 11:12:56 +05:30
Vishal Shingala
cbc38dff85 Fixed unresolved variable 2020-06-04 11:01:38 +05:30
Vishal Shingala
cc67f5541c Use const instead actual value for parameter source 2020-06-04 10:54:46 +05:30
Vishal Shingala
6914ca5773 Fixed actualValue or suggestedValue not being returned in case property is undefined 2020-06-03 19:41:59 +05:30
Vishal Shingala
6d1f85bca5 Fixed actualValue not being returned incase name or desc is undefined 2020-06-03 19:33:30 +05:30
Vishal Shingala
84990696df Fixed incorrect key for header name 2020-06-03 19:21:44 +05:30
Vishal Shingala
001a02f896 Ignore unresolved postman collection/environment variables using an option 2020-06-03 18:17:46 +05:30
Vishal Shingala
981018e260 Added support for metadata validation 2020-06-03 18:09:10 +05:30
Vishal Shingala
fc5c9f91a2 Improved example value for requestParameterResolution and exampleParameterResolution option to fallback to faked value instead of schema 2020-06-03 18:07:28 +05:30
Vishal Shingala
f09167f928 Use existing async.map as async.each does not allow returning result in callback 2020-06-03 17:58:46 +05:30
Vishal Shingala
607151dae9 Fixed invalid assignment of mismatchObj 2020-06-03 17:29:26 +05:30
Vishal Shingala
6268ae7cfb Updated suggested fix for single body mismatch 2020-06-02 19:25:17 +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
Vishal Shingala
80313f8896 Fixes non added type of formparam in collection 2020-05-28 17:03:07 +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
Vishal Shingala
6867b7d130 Updated max limit of items faked to 20 from 100 2020-05-15 10:48:07 +05:30
Vishal Shingala
ae30e18230 Merge branch 'develop' of github.com:postmanlabs/openapi-to-postman into feature/fix-min-max-items-overide 2020-05-15 00:24:28 +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
e5a6264381 Updated minItems and maxItem handling for conversion 2020-05-13 19:31:45 +05:30
Vishal Shingala
e25e234fa0 Added support for using Tags for folder creation (folderStrategy option) 2020-05-11 14:54:55 +05:30
Vishal Shingala
537b2a8e61 Added support for nullable keyword. 2020-04-27 13:05:34 +05:30
Abhijit Kane
facbee88e1 Merge pull request #201 from postmanlabs/feature/server-url-bug-fix
Path level server object with variables is not handled correctly
2020-04-21 11:40:42 +05:30
umeshp7
4b569dee89 Add special handling for local server urls 2020-04-17 14:21:13 +05:30
Vishal Shingala
7f7b7a1f8e Show detailed messages for request/response body only and Removed non-required keywords in AjvValidationError 2020-04-17 14:10:20 +05:30
umeshp7
5276a0d3ef Remove unnecessary handling for path level servers in convertRequestToItem function 2020-04-17 11:52:03 +05:30
Vishal Shingala
bfc6d551bf Merge branch 'develop' of github.com:postmanlabs/openapi-to-postman into feature/show-body-mismatches 2020-04-17 11:47:44 +05:30
Vishal Shingala
3a8a824ffb Use bracket resolution for application/json 2020-04-15 14:58:26 +05:30