1
0
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:
2017-05-06 15:25:27 +05:30
parent 00523772ac
commit 5f19bd02ac
5 changed files with 23 additions and 14 deletions

View File

@@ -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"