Apipie / apipie-rails

Ruby on Rails API documentation tool
Apache License 2.0
2.47k stars 459 forks source link

Allow user of documented api to call the method itself #157

Open liorsion opened 10 years ago

liorsion commented 10 years ago

The idea is that for each documented method, the client will be able to test it in the same sport using required parameters.

Please see beginning of work here, I can do pull request so we can work on it together on a different branch, or just send me samples of your api so I can start working on it.

iNecas commented 10 years ago

This seems like a very nice feature we were thing about previously. For samples, theforeman is a good project to try that on: e.g. https://github.com/theforeman/foreman/blob/develop/app/controllers/api/v1/operatingsystems_controller.rb