- A proxy server to capture & record requests
- A swagger/open-api spec generator off the recorded requests
nodejs 6.x.x+
serve ./proxy.json
node generator ./gen.json > swagger.yaml
- http://azimi.me/2015/07/16/split-swagger-into-smaller-files.html
- https://apihandyman.io/writing-openapi-swagger-specification-tutorial-part-4-advanced-data-modeling/
- https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#schemaObject
If you need to setup certs for node, checkout link
openssl req -newkey rsa:2048 -nodes -keyout ./certs/key.pem -x509 -days 365 -out ./certs/certificate.pem