* Initial draft for insomnia-adapter.js
* Added global options on cli types
* Added command description on cli
* Updating commands to support global flag
* First adapter implementation
* Fix object representation for send-request package
* Improved command description
* Fix test expected result
* Added db & adapter tests
* Improved flow on the InsomniaAdaptor
* Reverting to previous version
* Applying requested fixes
* Revised insomnia-adapter.js
* Applying requested changes
* Fixed new path for fixtures
* Introducing typescript support
* A few minor updates
* fixes from rebase
* update type mapping
* Use __dirname for fixture paths
* and tests for malformed data or unexpected version
* Update docs & use src with generate config cmd
* runs lint:fix
* minor error message copy adjustment
Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* Upgrade Electron from 9.3.5 to 11.2.3.
* bump version
* update preid to alpha
* version packages lib@2.3.1-alpha.0
* Downgrade electron-builder to 22.11.3.
We tried to upgrade electron-builder to 22.11.7, but this fails
because electron-builder 22.11.4 introduces imports into fs/promises.
This module is only available in Node 14+, so we have to stick to
22.11.3 until we update to Electron 12.
* Revert npm script changes from alpha release.
Co-authored-by: Opender Singh <opender.singh@konghq.com>
* removes unnecessary plugin indirection
there is no reason to have functions that literally call other functions with the same argument. well... maybe not _no_ reason, but the one valid reason I can think of (to satisfy an abstraction's constraints) is not met here. This serves no documentational value either because it creates indirection rather than showing what it's really doing (which is, to generate a plugin).
* reworks generatePlugins and generatePlugin signatures
adds Entry, removes optional `tags`, curries
* use option parameter syntax for generateRequestValidatorPlugin
also, many errors were occurring for OA3Operation.responses not being passed over and over again, leading me to believe it's valid to do so.
* ensures `generateOperationPlugins` has tags, uses option parameter
* removes flowtype comments
* updates readme examples along with readme function signatures
parseSpec and generate were `async` but never awaited
Co-authored-by: Opender Singh <opender.singh@konghq.com>