chatdesk-ui/postgrest_v12.2.8/test/spec/Feature/OpenApi/ProxySpec.hs

14 lines
346 B
Haskell

module Feature.OpenApi.ProxySpec where
import Network.Wai (Application)
import Test.Hspec hiding (pendingWith)
import Protolude
import SpecHelper
spec :: SpecWith ((), Application)
spec =
describe "GET / with proxy" $
it "returns a valid openapi spec with proxy" $
validateOpenApiResponse [("Accept", "application/openapi+json")]