Hi,
Just to let you know that I have just released a new Rails plug-in called:
Respect for Rails.
Never feel the need to document your REST API while still developing it
because a colleague of yours is making a mobile app client at the same
time? If yes, then this gem is for you.
You:
- describe the structure of your server requests/responses using the
compact DSL provided.
- mount the engine in your routes.rb
Respect for Rails:
- generates an interactive documentation page in an engine (following
http://json-schema.org/ standard)
- offers a filter for requests/responses validation.
- sanitize your parameters while validating them.
Check it out at: https://github.com/nicolasdespres/respect-rails
A basic Rails 3 example app is included in the repository.
It is still in beta but the existing API should not move, so you can use it
safely. The major feature I plan to add before to release version 1.0.0 is
a way to let users document their web app through resources.
Feel free to contact me for further information or to post a message on the
dedicated discussion group: https://groups.google.com/forum/?fromgroups
#!forum/ruby-respect-gem-talk
Have a great day!
-Nico
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/CAPqtr1KFLzxfgA3K4V5wXOktk0p3Gnwi5wPUnOLNnm9XJGcSJQ%40mail.gmail.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.