fix: update OpenAPI externalDocs URL

fixes https://github.com/PostgREST/postgrest/issues/3091
This commit is contained in:
Salim B
2024-07-11 15:07:14 +02:00
committed by Wolfgang Walther
parent 6be59066df
commit 1452720be6
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ spec = describe "OpenAPI" $ do
let docsUrl = r ^? key "externalDocs" . key "url"
liftIO $ docsUrl `shouldBe` Just (String ("https://postgrest.org/en/" <> docsVersion <> "/api.html"))
liftIO $ docsUrl `shouldBe` Just (String ("https://postgrest.org/en/" <> docsVersion <> "/references/api.html"))
describe "schema" $ do