Skip to content

Commit cb395df

Browse files
authored
Fix the initial load of the api (#302)
1 parent c5b77cb commit cb395df

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ jobs:
4747
"https://github.com/terrastruct/d2/releases/download/${D2_VERSION}/d2-${D2_VERSION}-linux-amd64.tar.gz"
4848
tar xzf /tmp/d2.tar.gz -C /tmp/d2 --strip-components=1
4949
cp /tmp/d2/bin/d2 /usr/local/bin
50-
# Can remove and swap to swagger-http once they add https://github.com/mkdocs/mkdocs/pull/3851
51-
- name: Download API Schema
52-
run: curl -o docs/openapi.json -L "https://api.linuxserver.io/openapi.json"
5350
- name: Install dependencies
5451
run: pip install -r docs/requirements.txt
5552
- name: Generate images-by-category.md
@@ -99,9 +96,6 @@ jobs:
9996
"https://github.com/terrastruct/d2/releases/download/${D2_VERSION}/d2-${D2_VERSION}-linux-amd64.tar.gz"
10097
tar xzf /tmp/d2.tar.gz -C /tmp/d2 --strip-components=1
10198
cp /tmp/d2/bin/d2 /usr/local/bin
102-
# Can remove and swap to swagger-http once they add https://github.com/mkdocs/mkdocs/pull/3851
103-
- name: Download API Schema
104-
run: curl -o docs/openapi.json -L "https://api.linuxserver.io/openapi.json"
10599
- name: Install dependencies
106100
run: pip install -r docs/requirements.txt
107101
- name: Generate images-by-category.md

docs/API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ hide:
44
---
55

66
#
7-
!!swagger openapi.json!!
7+
!!swagger-http https://api.linuxserver.io/openapi.json!!

0 commit comments

Comments
 (0)