Fix the initial load of the api (#302)

pull/303/head
quietsy 2025-02-12 10:29:13 +02:00 zatwierdzone przez GitHub
rodzic 06b2da308b
commit 18cfd3dcff
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 1 dodań i 7 usunięć

Wyświetl plik

@ -47,9 +47,6 @@ jobs:
"https://github.com/terrastruct/d2/releases/download/${D2_VERSION}/d2-${D2_VERSION}-linux-amd64.tar.gz"
tar xzf /tmp/d2.tar.gz -C /tmp/d2 --strip-components=1
cp /tmp/d2/bin/d2 /usr/local/bin
# Can remove and swap to swagger-http once they add https://github.com/mkdocs/mkdocs/pull/3851
- name: Download API Schema
run: curl -o docs/openapi.json -L "https://api.linuxserver.io/openapi.json"
- name: Install dependencies
run: pip install -r docs/requirements.txt
- name: Generate images-by-category.md
@ -99,9 +96,6 @@ jobs:
"https://github.com/terrastruct/d2/releases/download/${D2_VERSION}/d2-${D2_VERSION}-linux-amd64.tar.gz"
tar xzf /tmp/d2.tar.gz -C /tmp/d2 --strip-components=1
cp /tmp/d2/bin/d2 /usr/local/bin
# Can remove and swap to swagger-http once they add https://github.com/mkdocs/mkdocs/pull/3851
- name: Download API Schema
run: curl -o docs/openapi.json -L "https://api.linuxserver.io/openapi.json"
- name: Install dependencies
run: pip install -r docs/requirements.txt
- name: Generate images-by-category.md

Wyświetl plik

@ -4,4 +4,4 @@ hide:
---
#
!!swagger openapi.json!!
!!swagger-http https://api.linuxserver.io/openapi.json!!