Fix issue with empty route path
An undocumentated action in a documented controller should not raise errors

Signed-off-by: Lucas Dutra Nunes <ldnunes@ossystems.com.br>
Allow reopening of docs definition for the swagger_api DSL command

This allows for some interesting inheritance mechanics, like defining the API
for a controller method in a superclass and then refining the API method, and
therefore documentation, in the subclass controller.

Signed-off-by: Lucas Dutra Nunes <ldnunes@ossystems.com.br>
Refactor write_docs to split the documentation generation from file writing

Splitting the data generation from persistence allows it to be accessed without
having to read from the file system, like for example a special Rails controller
action that calls the generation method and outputs the JSON. Also, should make
it easier to maintain it.

Signed-off-by: Lucas Dutra Nunes <ldnunes@ossystems.com.br>
Remove blank spaces

Signed-off-by: Lucas Dutra Nunes <ldnunes@ossystems.com.br>
Merge pull request #43 from ldnunes/fix_issue_42

An undocumentated action in a documented controller should not raise errors
Merge pull request #44 from ldnunes/allow_docs_reopening

Allow reopening of docs definition for the swagger_api DSL command
Merge pull request #45 from ldnunes/write_docs_rewrite

Refactor write_docs to split the documentation generation from file writing
Merge pull request #46 from ldnunes/remove_blank_spaces

Remove blank spaces
Remove some lineage in write_docs
v0.1.4