From 15c3e8642ca91ca27cb983b6d20f8953083ba5bd Mon Sep 17 00:00:00 2001 From: Paul Harrison Date: Wed, 13 Dec 2023 09:43:57 +0000 Subject: [PATCH] apparently the yaml file is what is downloaded --- .github/workflows/hugo.yml | 2 +- content/en/docs/Developer/api.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 05a79ab..5544a15 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -53,7 +53,7 @@ jobs: with: workflow: gradle.yml name: openapi - path: ./static/openapi + path: ./static/openapi/ repo: orppst/pst-api-service - name: Build with Hugo env: diff --git a/content/en/docs/Developer/api.md b/content/en/docs/Developer/api.md index 5592c91..cf7b841 100644 --- a/content/en/docs/Developer/api.md +++ b/content/en/docs/Developer/api.md @@ -5,4 +5,4 @@ weight = 1 description = "Reference for the Polaris API" +++ -{{< swaggerui src="/openapi/openapi.json" >}} +{{< swaggerui src="/openapi/openapi.yaml" >}}