
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
rapidocgen
Advanced tools
Simple script to transform postman test collections v2.1 to a swagger file
Using npm
$ npm install -g rapidocgen
$ rapidocgen <filepath> [<outputPath>]
$ rdg <filepath> [<outputPath>]
To parse a variable path use postman's as the following example

Edit the collection to add the matching variables with their value so you can test your requests

Request responses will use postman's to build example responses'
If no responses are available default will be 200: 'ok'

- Fixed issue with requests without body that caused script to abort (sorry for the inconvenience)
- Added feedback when the command terminates successfully
- RAPIDocGen abbreviation command added, rdg now available
- Script will now parse urlencoded body
- Fixed an issue where $ref paths would have spaces in between, causing yml errors
- Nested objects wont destroy response objects now (Will keep an eye on this one)
- IMPORTANT: Currently the script is unable to parse multiple same response code, if there are any, response objects will be created and only the last will be shown automatically
- Fixed an issue where path variables wouldn't be parsed correctly into path parameters
- Script won't crash now if there is a request outside a folder, it won't parse it yet
- Modulirized code
- Output path issue fixed, user can now specify path & file name,
Default is set to 'RAPI_Docs.yml'- Updated docs with variable params example & default response
RAPIDocGen v1.0.0
FAQs
Restful API documenation generator
We found that rapidocgen demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.