spec/dummy/app/api/dummy_api.rb in introspective_grape-0.2.7 vs spec/dummy/app/api/dummy_api.rb in introspective_grape-0.2.8

- old
+ new

@@ -42,10 +42,9 @@ api = "Dummy::#{File.basename(f, '.rb').camelize.sub(/Api$/,'API')}".constantize mount api if api.respond_to? :endpoints end # configure grape-swagger to auto-generate swagger docs - protocol = Rails.application.config.force_ssl ? 'https' : 'http' add_swagger_documentation({ base_path: "/api", doc_version: 'v1', hide_documentation_path: true, format: :json,