Vishal Shingala
4ee4e36c5b
Fixed issue where invalid deserialisation was happening for param style matrix
2020-07-20 16:02:28 +05:30
umeshp7
fd3ddcbd9f
Remove fakeData check in convertToPmHeader
2020-07-14 17:32:55 +05:30
umeshp7
782e213e5d
Merge develop into performance-improvements
2020-07-14 15:56:22 +05:30
Vishal Shingala
6995a1922e
Merge branch 'develop' of github.com:postmanlabs/openapi-to-postman into feature/skip-security-header-validation
2020-07-14 11:31:03 +05:30
Vishal Shingala
f22c6d34bf
Added support for parameter serialisation in conversion and deserialisation in validation. ( #257 )
...
* Added support for parameter string serialisation for conversion and deserialisation during validation
* Fixed existing test for string serialisation
* Added support for parameter string serialisation for conversion and deserialisation during validation
* Fixed existing test for string serialisation
Co-authored-by: Vishal Shingala <vishalkumar.shingala@postman.com >
2020-07-14 11:26:48 +05:30
Vishal Shingala
e18dba0b46
Added OpenAPI suggested headers to implicit headers list to be ignored during validation
2020-07-14 11:25:29 +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
Vishal Shingala
e0a9670893
Merge pull request #246 from postmanlabs/feature/fix-typeerror-empty-parameters
...
Fixed TypeError happening when empty parameter is provided.
2020-07-14 10:11:08 +05:30
umeshp7
32d49cf31b
add missing jsdoc for analyzeSpec and determineOptions
2020-07-13 16:39:19 +05:30
Vishal Shingala
a51ce6a4d7
Fixed issue where params added by security schemes where providing mismatches
2020-07-10 15:59:17 +05:30
Abhijit Kane
f84b2daf32
Merge pull request #251 from postmanlabs/feature/fix-empty-description-mismatch
...
Fixed issue where empty description property caused mismatch.
2020-07-09 16:41:33 +05:30
umeshp7
a26d59fd45
Merge branch 'develop' into feature/performance-improvements
2020-07-08 16:48:58 +05:30
umeshp7
509ca050e5
Update size limit for highest complexity, jsf limit update in unique function
2020-07-08 16:48:27 +05:30
Vishal Shingala
4fcad5bfe8
Added comment describing logic behind match for null and empty string
2020-07-08 15:38:42 +05:30
Vishal Shingala
f44192fca0
Created separate function for modified _.get
2020-07-08 14:59:42 +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
4b1d65abad
Fixed issue where empty description property caused mismatch between collection and schema
2020-07-07 17:02:36 +05:30
Vishal Shingala
54d810eb9f
Fixed dataPath handling for root property when dataPath is empty string
2020-07-06 14:11:57 +05:30
Vishal Shingala
5203d582e3
Merge pull request #245 from postmanlabs/feature/fix-transactionpath-headers
...
Fixed invalid transaction json path for headers.
2020-07-06 11:37:27 +05:30
umeshp7
6d14f93825
Remove duplicate JSON stringify
2020-06-29 12:21:32 +05:30
Vishal Shingala
ba97cfcfb3
Fixed TypeError happening when empty parameter is provided
2020-06-25 17:48:42 +05:30
umeshp7
359acb6d77
Change stack limit on the basis of spec size, and complexity
2020-06-24 21:18:12 +05:30
Vishal Shingala
24dbdbbe58
Use actual index of headers in transactionJson path
2020-06-24 19:36:57 +05:30
Vishal Shingala
bca138c690
Fixed invalid converted type of value for form and query param
2020-06-24 17:11:07 +05:30
Vishal Shingala
c08266564c
Fixed invalid converted type of value for header and url
2020-06-24 16:08:32 +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
Vishal Shingala
f7d679d2c3
Use global definition for implicit headers and Updated reason for missing in schema content header
2020-06-18 15:08:57 +05:30
Vishal Shingala
17d87c1de3
Updated reason for missing in schema code
2020-06-18 09:43:05 +05:30
Vishal Shingala
8d781df5a9
Suggest only header value and not key value pair for invalid content header
2020-06-18 09:25:01 +05:30
Vishal Shingala
f455853483
Added support for validating content type header correctly
2020-06-17 16:15:54 +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
Vishal Shingala
bc432fe6a7
Merge branch 'feature/suggest-fixes' of github.com:postmanlabs/openapi-to-postman into feature/improve-example-option
2020-06-14 23:24:43 +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
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