Switch to redoc and update API description

This commit is contained in:
Alex Ling
2020-12-20 14:31:17 +00:00
parent d3e5691478
commit 84d4b0c529
4 changed files with 30 additions and 32 deletions
+2 -2
View File
@@ -114,8 +114,8 @@ class MainRouter < Router
end
end
get "/swagger" do |env|
render "src/views/swagger.html.ecr"
get "/api" do |env|
render "src/views/api.html.ecr"
end
end
end