1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-04-06 12:42:40 +00:00
harbour-sailfin/core
Chris Josten f71c7a991b [1/3] update openapi spec: update generator
Update the generator to be able to handle the new challenges that arose
with the new specification, namely:

- Enums that do not start with a capital letter
- Enums that contain a reserved keyword
- Basic handling 'allOf' keys in properties

Additionally, the comparison enum deserialisation is now
case-insensitive.
2025-03-19 22:06:54 +01:00
..
codegen [1/3] update openapi spec: update generator 2025-03-19 22:06:54 +01:00
dbus Add MPRIS support 2021-08-31 01:29:51 +02:00
doc docs: Add Doxygen and project-related documentation 2024-04-27 23:16:06 +02:00
include/JellyfinQt build: produce static libraries 2025-03-12 20:43:17 +01:00
qrc WIP: Playlist support 2021-05-21 15:46:30 +02:00
src build: produce static libraries 2025-03-12 20:43:17 +01:00
CMakeLists.txt build: produce static libraries 2025-03-12 20:43:17 +01:00
GeneratedSources.cmake openapi: group endpoints by tag in file 2021-09-01 14:50:02 +02:00
JellyfinQt.qmltypes Make libJellyfinQt a proper qml plugin 2021-09-08 21:36:26 +02:00
openapi.json core: send start index when playing on remote session 2023-01-05 15:53:52 +01:00
openapigenerator.d [1/3] update openapi spec: update generator 2025-03-19 22:06:54 +01:00
qmldir Make libJellyfinQt a proper qml plugin 2021-09-08 21:36:26 +02:00
README.md Slight improvements to the OpenAPI generator 2021-02-21 00:26:18 +01:00

Jellyfin-Qt

This folder contains the core library containing most of the non-interface UI logic and platform-independent parts.

Code generation.

Parts of the code (notably the data models) are generated from the OpenApi description provided by the Jellyfin server. The code generator uses the D programming language and expects to be run through DMD. Make sure both a D compiler and DMD are installed. Afterwards, on Unix-like systems, marking the "script" as executable and running it should be enough. On Windows, one probably needs to run dub.exe openapigenerator.d, but I haven't verified it myself.