<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Floorplanner Tech Blog &#187; rapidoc</title>
	<atom:link href="http://techblog.floorplanner.com/tag/rapidoc/feed/" rel="self" type="application/rss+xml" />
	<link>http://techblog.floorplanner.com</link>
	<description>Our latest geek adventures!</description>
	<lastBuildDate>Tue, 16 Mar 2010 18:45:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>RAPIDoc Rails Rest Api documentation generation, well just RAPIDoc&#8230;</title>
		<link>http://techblog.floorplanner.com/2008/05/07/rapidoc-rails-rest-api-documentation-generation-well-just-rapidoc/</link>
		<comments>http://techblog.floorplanner.com/2008/05/07/rapidoc-rails-rest-api-documentation-generation-well-just-rapidoc/#comments</comments>
		<pubDate>Tue, 06 May 2008 23:02:28 +0000</pubDate>
		<dc:creator>jaap</dc:creator>
				<category><![CDATA[Collaboration]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[generator]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rapidoc]]></category>

		<guid isPermaLink="false">http://www.suite75.net/blog/dev/rapidoc-rails-rest-api-documentation-generation-well-just-rapidoc.html</guid>
		<description><![CDATA[Today I setup the first version of a RAPIDoc, a Rest API Rails Documentation Generator and we decided to open source this thing, from now on let&#8217;s call it RAPIDoc. It is a API code generator for Rails, describing your Rest resources. We we&#8217;re looking for a way to fully integrate documentation of our API [...]]]></description>
			<content:encoded><![CDATA[<p>Today I setup the first version of a RAPIDoc, a Rest API Rails Documentation Generator and we decided to open source this thing, from now on let&#8217;s call it RAPIDoc. It is a API code generator for Rails, describing your Rest resources. We we&#8217;re looking for a way to fully integrate documentation of our API into the code base, like Rdoc does. Rdoc didn&#8217;t suit our needs, cause it has got nothing to do with Rest and resource stuff, so we decided to hack something together and gave it a name: RAPIDoc.</p>
<p><strong>What does it do?</strong><br />
It generates a API controller containing documenation maked up in a special language. It parses controllers you specify, and generates a ApiController with appropriate views for it. This makes it very easy to document a Rest API. For methods you use, and according to ERB templates you specify it generates the views for you. It doesn&#8217;t parse your routes.rb, it was not needed for us, but may be a nice extension for it.</p>
<p>Well how is that RAPI doc looking? Put this in front of a Restful method.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="rake" style="font-family: Monaco,monospace;">=begin rapidoc
url:: /projects
method:: GET
access:: FREE
return:: [JSON|XML] - some project
param:: page:int - the page
param:: per_page:int - max items per page
&nbsp;
Get a list of projects. This method uses pagination. If you want to retreive project 1-10 for example:
/projects?page=1&amp;per_page=10.
=end</pre></td></tr></table></div>

<p>For each resource you specify, a view is created and it is put into the index.</p>
<p>Opensource<br />
It is available from now on on:</p>
<p><a href="http://code.google.com/p/rapidoc/">http://code.google.com/p/rapidoc/</a></p>
<p>If you find it useful and you want to change some things, become a submitter. Ow yeah, just a note: really experimental code</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.floorplanner.com/2008/05/07/rapidoc-rails-rest-api-documentation-generation-well-just-rapidoc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
