-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
etapi.openapi.yaml
is not packaged in Desktop builds causing App to crash
#1123
Comments
I wonder if anyone is using this OpenAPI endpoint. 🤔 |
Generally I like seeing openAPI files like these for APIs, as it makes it a lot easier to quickly wrap your head around an API - so I would be all for keeping it. (but maybe I misunderstood your comment above :-D) Regarding being up-to-date -> that is a good question that we should probably track as a separate task as well. edit 2025-02-07: -> #1131 |
Since we have an OpenAPI spec, can't we generate Swagger UI docs for it? I feel like that would be pretty cool to have builtin - like Gitea does. |
@perfectra1n , yeah, sounds like a nice idea. |
If we like the Swagger UI docs - perhaps that can use that to replace the current URL in the |
yes, I assume that should be the case – but we should also test with the Desktop Electron version I guess. |
just tried to build the latest git with electron-forge and now the missing
In other words – we still need to fix the build/packaging process here. :-) I'll take a look this evening (if no one else will have fixed it before that :-))! |
etapi.openapi.yaml
is not packaged in Desktop builds
etapi.openapi.yaml
is not packaged in Desktop buildsetapi.openapi.yaml
is not packaged in Desktop builds causing App to crash
will provide a commit in a couple of moments, that will fix the missing file being copied to the dist folder. |
Description
Hi,
using the Desktop version on Windows 11 - I just noticed in the ETAPI settings, clicking on the "ETAPI OpenAPI spec" link (which points to http://127.0.0.1:37840/etapi/etapi.openapi.yaml) does not work, but will send you to an error message
TriliumNext Version
0.91.5
What operating system are you using?
Windows
What is your setup?
Local (no sync)
Operating System Version
Windows 11
Error logs
No response
The text was updated successfully, but these errors were encountered: