Commit Graph

49 Commits

Author SHA1 Message Date
Erik Mendoza
bd33ad10b0 Solving comments
The convertion methods has been added fot the version 2.0
it was added a test to validate the convertSwaggerToOpenapi method.
convertSwaggerToOpenapi throws an error when it fails
2022-04-27 20:47:19 -05:00
Erik Mendoza
888bd70565 Adding swagger support in convert 2022-04-14 14:50:14 -05:00
Erik Mendoza
156e8b8436 Parse, getOptions, getMetadata and validate methods
Some methods has been moved and integrated to openapi to postman.
Scenarios related with folder input type are missing but they will be added in next tasks
2022-04-08 15:51:13 -05:00
umeshp7
d8c16ea74a Revert webhooks related changes for validation 2022-02-09 18:22:43 +05:30
umeshp7
3368be1528 Merge branch 'develop' into feature/sync-develop-and-split-develop 2022-02-08 20:25:03 +05:30
Vishal Shingala
8bce10359f Fixed default indentation for space from 1 char space to 2 chars 2022-02-01 12:06:35 +05:30
Vishal Shingala
18153fb847 Fixed issue where for certain collection requests validateTransactions() provided missing path varaible in request even though it was present 2022-01-31 02:29:21 +05:30
Erik Mendoza
dc373c63a0 Fix includeWebhooks option description, adding fallback values 2022-01-27 14:43:33 -06:00
Erik Mendoza
27465dbadd Fix getOptions function, now version must be send inner the criteria object, adding webhooks support in convertion process, adding related tests to supported scenarios 2022-01-26 22:37:32 -06:00
Erik Mendoza
5afac8d2a5 Fix filterByVersion method 2022-01-20 13:52:53 -06:00
Erik Mendoza
dbbefd5b26 Fix options filter in getOptions, adding some tests to validate the filter by version 2022-01-19 18:34:36 -06:00
Erik Mendoza
bdfebb9451 Adding version as argument of getOptions, resolving getOptions arguments when the user does not provide all 2022-01-17 22:39:10 -06:00
Vishal Shingala
f19aa23be0 Merge pull request #383 from thim81/pr-implicit-headers-option
Added option to manage implicit headers
2021-09-28 18:42:32 +05:30
Tim
91aaff36d8 Skip automatic header detection when "keepImplicitHeaders" is active, to prevent duplicate headers. 2021-09-07 15:41:37 +02:00
Tim
6af0b8c039 Skip automatic header detection when "keepImplicitHeaders" is active, to prevent duplicate headers. 2021-09-06 14:36:16 +02:00
Vishal Shingala
2d46525717 Updated readme.md to include usage and description of option 2021-08-17 17:27:47 +05:30
Vishal Shingala
1716c4cdc3 Added support for stackLimit option to customize schema resolution level 2021-08-17 17:11:00 +05:30
Tim
f7ca6c5fb4 Added option to manage implicit headers 2021-06-29 23:53:19 +02:00
Vishal Shingala
17809df927 Updated description of option to disable optional parameters 2021-01-28 16:40:47 +05:30
Ed Clements
1bde5d603a Disable optional parameters
Adds a new option disableOptionalParameters to mark optional parameters
(required is false) as disabled.
2020-09-18 15:10:59 +01:00
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
umeshp7
d10df30a05 Update optimize conversio option copy 2020-07-15 11:45:52 +05:30
umeshp7
e6ae659c54 Add optimizeConversion in options.js 2020-07-08 16:54:23 +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
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
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
2c422728f0 Added support for suggesting available fixes 2020-06-01 19:09:48 +05:30
Vishal Shingala
65ec7f877c Added support for strict request matching option 2020-05-28 16:49:58 +05:30
Vishal Shingala
e25e234fa0 Added support for using Tags for folder creation (folderStrategy option) 2020-05-11 14:54:55 +05:30
Abhijit Kane
9b17771cc7 Merge pull request #210 from postmanlabs/feature/sanitise-options
Correct requestNameSource parameter value from `Url` to `URL`
2020-05-04 13:48:14 +05:30
shreys7
ee13d9d545 Correct requestNameSource option value from Url to URL, and add corresponding tests 2020-05-04 13:37:01 +05:30
shreys7
c38996ad2d Merge branch 'develop' into bugfix/remove-folderStrategy-option 2020-04-27 18:57:09 +05:30
Vishal Shingala
a3dacd648d Updated getOptions to return all usage types mentioned in criteria 2020-04-24 13:02:23 +05:30
Vishal Shingala
5e3a31a4ff Added markdown description for parametersResolution options 2020-04-24 13:01:47 +05:30
Vishal Shingala
cc6f17dd0b Ignore case-sensitivity for option of type enum with string value 2020-04-23 20:43:02 +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
Vishal Shingala
c273544180 Merge branch 'develop' of github.com:postmanlabs/openapi-to-postman into feature/sanitise-options 2020-04-23 14:32:03 +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
shreys7
edcff9e72a Remove folderStrategy option 2020-04-14 16:28:47 +05:30
Vishal Shingala
7ca547ac6d Added support for detaied validation errors with option detailedBlobValidation 2020-04-14 12:43:22 +05:30
shreys7
cdb7386bf7 Fix schema and example link positions in parameter resolution options 2020-04-07 18:00:11 +05:30
shreys7
d1475e75b5 Add schema and example links in parameter resolution options 2020-04-07 16:30:43 +05:30
shreys7
6ade6896d8 Correct punctuations in option descriptions and change indent option values 2020-04-07 13:21:33 +05:30
Abhijit Kane
9a4b38d72d Exposing option to hide MISSING_IN_SCHEMA mismatches by default 2020-01-01 19:49:30 +05:30
Abhijit Kane
9bf96df0b2 Exposing option to ignore certain request/response props during validation 2019-12-30 19:13:45 +05:30
Abhijit Kane
08833e69d2 Expose option to shorten validation error messages
Helpful for request/response body
2019-12-30 19:11:55 +05:30
Abhijit Kane
3f551fd259 New SchemaPack API exposed, validatorAgainstHistory v1 2019-12-15 14:51:52 +05:30