diff options
Diffstat (limited to 'lib/swagger.rb')
-rw-r--r-- | lib/swagger.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/swagger.rb b/lib/swagger.rb index efe1c9d..acb2ad0 100644 --- a/lib/swagger.rb +++ b/lib/swagger.rb @@ -1,6 +1,5 @@ get "/" do response['Content-Type'] = "text/html" index_file = File.join(ENV['HOME'],"swagger-ui/dist/index.html") - bad_request_error "API Documentation in Swagger JSON is not implemented." unless File.exists?(index_file) File.read(index_file) end |