4 ms·
Wow this is really great. Interested in how the prism proxy thing can work for reversing existing (un-specced) APIs. Can you shed some light on that?
by chrstphrhrt 11y ago
Wow this is really great. Interested in how the prism proxy thing can work for reversing existing (un-specced) APIs. Can you shed some light on that?
- marbemac 11y agoHey! Marc MacLeod here - founder. Basically, you put Prism between your API consumer (mobile app, website, integration tests, library, curl request, whatever) and the API itself. Prism processes the traffic that passes through it, and generates your spec code from that. It can identify dynamic parameters in the url, build json schemas, etc. Here's a little post + video we put together: https://medium.com/oh-what-a-wonderful-web/how-to-generate-2-000-lines-of-specification-code-in-60-seconds-478a7a916dd0#.da7j34ejk https://medium.com/oh-what-a-wonderful-web/how-to-generate-2... And another, demonstrating a slightly different process of generating spec code from the Peach mobile app API traffic: http://peach.api-docs.io/1.0/welcome http://peach.api-docs.io/1.0/welcome