mirror of
https://github.com/games-on-whales/wolf.git
synced 2026-10-15 21:12:08 +00:00
[GH-ISSUE #274] Changes needed for the OpenApi [WIP] #192
Labels
No labels
🧠 1 - 🤖 999
AMD
bug
bug
cannot reproduce
documentation
duplicate
easy
enhancement
enhancement
enhancement
fixed?
fixed?
good first issue
hard
help wanted
Intel
invalid
LXC
medium
moonlight-protocol
Multi GPU
nixos
not a bug
nvidia
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolf#192
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Skerga on GitHub (Oct 15, 2025).
Original GitHub issue: https://github.com/games-on-whales/wolf/issues/274
This is currently more of a reminder, but i hope that the following problems with the OpenApi spec can be mended.
Currently I'm trying to get NSwag to generate a working Client for the WolfApi just from the OpenApi.json the Api returns.
In the process I've identified some problems that I'm currently bypass by doing some major Regex replacement.
v1/utils/get-iconand/api/v1/docker/images/inspectrunnerbe bothcmdordocker, currently I've removed thecmdoption.Typeshave hideous and long names, I've removed most of the offender via Regex./api/v1/docker/images/inspectendpoint. that way an empty response would be valid and its not automatically an Exception to not find an Image.Here the RegexReplace calls I'm currently using (c# syntax "" escapes " in an @ string). I was modifying the spec directly at this point but the building time for wolf was taking too long for me so I've put them in the c# Source Generator.
I've also written a separate OpenApi file to define the
/api/v1/docker/images/inspectendpoint: