Postman to Typescript

How to use it

First, you have to export postman data in postman. Note that for now, you can only use collection data with this tool, note whole workspace data.

Exporting data from postman collection in JSON format
Pasting JSON data into the site

Output

The generated code is functions for each request named in this structure FolderNameRequestName , also as you can see Axios is used for making API requests. Types are getting generated based on raw body in postman data.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store