Back to plugins
Logo

codegen

Version 1.1.4
Install Plugin

Overview

Simple insomnia plugin to export code for every request using httpsnippet module with custom templates

Usage

  1. Give a prefix "CodeGen-" for every request you want to export

  2. open the pluginsFolder and replace code inside templates insomnia-plugin-codegen/custom/custom_swift.js insomnia-plugin-codegen/custom/custom_kotlin.js insomnia-plugin-codegen/custom/custom_java.js insomnia-plugin-codegen/custom/custom_js.js

  3. Remember to click Reload Plugin List after

Screenshot

  1. Currently supports Swift, Kotlin, Java and JS
  2. This will export the generated files here ~/Desktop

Screenshot