Commit Graph

17 Commits

Author SHA1 Message Date
Joe Bauser
182acbef2b Support postman basic, digest, bearer, oauth, and aws auth (#1244)
Add support for importing 5 new authentication types from both
Postman v2.0 and v2.1 import formats.

- Basic Auth (Fixes #1235)
- Bearer Tokens (Fixes #1236)
- Digest Auth username and password (Fixes #1237)
- AWS IAMv4 Authentication (Fixes #1241)
- Oauth 1.0 and Oauth 2.0 (Fixes #1240)

Note: For Oauth2.0 this means setting authorization to Oauth2 but
generating a disabled config, since postman does not export anything we
can use to fill our config values.
2018-11-05 20:38:43 -04:00
Gregory Schier
dcfa960be1 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2018-11-05 19:36:11 -05:00
Gregory Schier
fa6242bf07 Handle dollar sign curl imports (Fixes #1245) 2018-11-05 19:35:59 -05:00
Joe Bauser
65a08a2163 Fixes #682: Support postman import schema v2.1.0 (#1233) 2018-10-27 00:37:58 -04:00
Timothy Lim
ebd3761241 Support Swagger tags (#1211) 2018-10-17 14:52:54 -04:00
Gregory Schier
99de4725fa prettier entire project 2018-10-17 12:42:33 -04:00
Matthias Ramsauer
971a2b49aa filter "parameters method" (#1197) 2018-10-17 11:50:05 -04:00
Atvaark
d3c002410b Preserve HAR entry comment during import (#1198)
This will fix an HAR export/import issue where names are lost.
Fixes #1153
2018-10-03 17:33:12 -04:00
Gregory Schier
4901f03041 Add Prettier 2018-06-25 13:42:50 -04:00
Claudio Bley
28a0b7dc17 Fix parameter replacement in swagger importer (#861)
The regex was greedily matching any character which causes problems with
multiple path parameters in a route and it was only replacing once:

input: `/api/v1/{channel}/items/{id}`
output: `/api/v1/{{ channel}/items/{id }}`
2018-04-13 08:18:30 -04:00
Gregory Schier
bf97f94825 Fix Swagger 2 parameter types 2018-01-17 16:53:30 +07:00
Gregory Schier
82621e8fb3 Fix for swagger2 importer 2018-01-17 12:18:10 +07:00
slawus
e987931805 Feature/swagger2 importer (#695)
* Added support for async importers

* Swagger importer v0.1 - supports import of workspace, environment and endpoints from swagger 2.0 specifications. Supports query params, headers and body. Mocks body of application/json endpoitns

* Refactor: added comments, removed function-in-function declarations

* Fixed import of yaml files. Added tests for both .json and .yaml
2018-01-16 14:02:12 +07:00
slawus
71ed57143e Added support for async importers (#694) 2018-01-16 12:51:28 +07:00
Gregory Schier
1cc7e64ade Handle Postman url object format 2017-11-27 17:21:08 +00:00
Gregory Schier
3f8326570d Publish
- insomnia-plugin-base64@1.0.2
 - insomnia-plugin-default-headers@1.0.3
 - insomnia-plugin-file@1.0.2
 - insomnia-plugin-hash@1.0.2
 - insomnia-plugin-now@1.0.2
 - insomnia-plugin-request@1.0.2
 - insomnia-plugin-response@1.0.2
 - insomnia-plugin-uuid@1.0.2
 - insomnia-cookies@0.0.3
 - insomnia-importers@1.5.3
 - insomnia-prettify@0.1.0
 - insomnia-url@0.1.0
 - insomnia-xpath@0.0.3
2017-11-26 23:04:47 +00:00
Gregory Schier
549ce23ce8
Merge All Repositories into Monorepo for easier maintenance (#629)
* All projects into monorepo

* Update CI

* More CI updates

* Extracted a bunch of things into packages

* Publish

 - insomnia-plugin-base64@1.0.1
 - insomnia-plugin-default-headers@1.0.2
 - insomnia-plugin-file@1.0.1
 - insomnia-plugin-hash@1.0.1
 - insomnia-plugin-now@1.0.1
 - insomnia-plugin-request@1.0.1
 - insomnia-plugin-response@1.0.1
 - insomnia-plugin-uuid@1.0.1
 - insomnia-cookies@0.0.2
 - insomnia-importers@1.5.2
 - insomnia-prettify@0.0.3
 - insomnia-url@0.0.2
 - insomnia-xpath@0.0.2

* A bunch of small fixes

* Improved build script

* Fixed

* Merge dangling files

* Usability refactor

* Handle duplicate plugin names
2017-11-26 20:45:40 +00:00