Generate API specs from other sources such as CURL commands or file imports
git clone /~https://github.com/opengate-io/specs-generator.git
cd specs-generator
npm run build
npm start
docker run --name specs-generator -p 80:8000 opengate/specs-generator
- Open target web page to extract a RESTful API
- Using Google Chrome: (More Tools/Developer Tools)
- Select a REST API you want to inspect on Network Tab
- Right click and choose (Copy/Copy as cURL)
- Launch specs-generator web application http://localhost:8000
- Paste into (File/Import from CURL) input dialog then Import