Change tests to use postgres-json-schema instead of hjsonschema.

Embeds https://github.com/gavinwahl/postgres-json-schema.
This commit is contained in:
Robert Vollmert
2019-06-01 23:26:33 -05:00
committed by Steve Chávez
parent e34669b137
commit 65fc672417
7 changed files with 299 additions and 26 deletions
+1 -2
View File
@@ -21,8 +21,7 @@ spec :: SpecWith Application
spec = do
describe "OpenAPI" $ do
it "root path returns a valid openapi spec" $ do
pendingWith "Test timing out frequently on CI, please run locally"
it "root path returns a valid openapi spec" $
validateOpenApiResponse [("Accept", "application/openapi+json")]
it "should respond to openapi request on none root path with 415" $