mirror of
https://github.com/hkalexling/Mango.git
synced 2026-03-20 00:00:48 -04:00
Add API documentation
This commit is contained in:
@@ -113,5 +113,9 @@ class MainRouter < Router
|
||||
env.response.status_code = 500
|
||||
end
|
||||
end
|
||||
|
||||
get "/swagger" do |env|
|
||||
render "src/views/swagger.html.ecr"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user