diff --git a/lib/praxis/tasks/api_docs.rb b/lib/praxis/tasks/api_docs.rb
index <HASH>..<HASH> 100644
--- a/lib/praxis/tasks/api_docs.rb
+++ b/lib/praxis/tasks/api_docs.rb
@@ -46,7 +46,11 @@ class RestfulDocGenerator
 
     def initialize( definition )
       @controller_config = definition
-      @version = controller_config.version
+      if controller_config.version == 'n/a'
+        @version = 'unversioned'
+      else
+        @version = controller_config.version
+      end
       @media_type = controller_config.media_type
       @reachable_types = Set.new
Fixed doc generation to create a more appropriate directory name (i.e. unversioned instead of 'n/a' ) for controllers and mediatypes without a version.