API: Add standalone method to fetch OpenAPI docs

Generates and stores an export of the openapi.json file for use in
static websites.

Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
kingbri
2024-07-07 21:34:18 -04:00
parent bb8b02a60a
commit 5e82b7eb69
3 changed files with 22 additions and 2 deletions

3
.gitignore vendored
View File

@@ -199,3 +199,6 @@ sampler_overrides/*
# Gpu lib preferences file
gpu_lib.txt
# OpenAPI JSON
openapi.json