From 007c8302e2cc43ef3bb54f916af6e3ec0ac28c45 Mon Sep 17 00:00:00 2001 From: drbh Date: Tue, 2 Jul 2024 15:24:14 +0000 Subject: [PATCH] feat: improve workflow to check openapi schema too --- .github/workflows/autodocs.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/autodocs.yaml b/.github/workflows/autodocs.yaml index 42c3443b..ee3dc0c6 100644 --- a/.github/workflows/autodocs.yaml +++ b/.github/workflows/autodocs.yaml @@ -14,7 +14,12 @@ jobs: - name: Install Launcher id: install-launcher run: cargo install --path launcher/ + - name: Check launcher Docs are up-to-date run: | echo text-generation-launcher --help python update_doc.py md --check + + - name: Check that openapi schema is up-to-date + run: | + python update_doc.py openapi --check