From ffd97003a70d206a308ce83a8f75b1d61b973e1b Mon Sep 17 00:00:00 2001 From: Blair Anderson Date: Mon, 9 Mar 2015 23:38:45 -0700 Subject: [PATCH] remove swagger --- config/initializers/swagger.rb | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 config/initializers/swagger.rb diff --git a/config/initializers/swagger.rb b/config/initializers/swagger.rb deleted file mode 100644 index 1a6fc97..0000000 --- a/config/initializers/swagger.rb +++ /dev/null @@ -1,23 +0,0 @@ -v1 = { - # the extension used for the API - api_extension_type: :json, - # the output location where your .json files are written to - api_file_path: "public/api/v1/", - # the URL base path to your API - base_path: "http://api.somedomain.com", - # if you want to delete all .json files at each generation - clean_directory: false, - # add custom attributes to api-docs - attributes: { - info: { - "title" => "Swagger Sample App", - "description" => "This is a sample description.", - "termsOfServiceUrl" => "http://helloreverb.com/terms/", - "contact" => "apiteam@wordnik.com", - "license" => "Apache 2.0", - "licenseUrl" => "http://www.apache.org/licenses/LICENSE-2.0.html" - } - } -} - -Swagger::Docs::Config.register_apis({"1.0" => v1})