mirror of
https://github.com/alaudidaelark/coupon-servant.git
synced 2026-03-07 22:12:34 +00:00
integrated a swagger json api endpoint
This commit is contained in:
@@ -2,10 +2,7 @@ module Main where
|
||||
|
||||
import App
|
||||
|
||||
import SwaggerGen
|
||||
|
||||
main :: IO ()
|
||||
main = do genSwaggerDoc
|
||||
run "host=localhost port=5432 user=msfuser dbname=coupon password="
|
||||
main = run "host=localhost port=5432 user=msfuser dbname=coupon password="
|
||||
|
||||
-- run "testSql.db"
|
||||
|
||||
Reference in New Issue
Block a user