diff options
author | gebele <gebele@in-silico.ch> | 2019-05-28 14:25:52 +0000 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2019-05-28 14:25:52 +0000 |
commit | 5a3be4190688bc8240327930b3e953b09ecc9d9e (patch) | |
tree | c26ae148d18bcb0195a092b9339dbfcd16718a9e /lib | |
parent | 750e91ae181c06c2f9d067d540d2d336274049b0 (diff) |
before clean up
Diffstat (limited to 'lib')
-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 |