1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-01 08:52:45 +00:00

[2/3] update openapi spec: generate code

This updates the openapi spec and invokes the code generator to update
to the Jellyfin 10.10.6 API.

A big motivation to do this was because some mandatory fields have been
made obsolete and are no longer included in responses. Sailfin tries to
deserialize these mandatory fields and fails deserializing. It was evident
in the list of sessions to control.

The failing was a bit too gracefully in my opinion, it did not even show
that an error occurred, nor was it logged anywhere. It took some time
to debug.
This commit is contained in:
Chris Josten 2025-03-13 02:39:07 +01:00
parent eeb9183909
commit d685b48ec1
504 changed files with 62190 additions and 41202 deletions

View file

@ -49,7 +49,13 @@ namespace DTO {
class LibraryUpdateInfo {
public:
LibraryUpdateInfo(
LibraryUpdateInfo(
QStringList foldersAddedTo,
QStringList foldersRemovedFrom,
QStringList itemsAdded,
QStringList itemsRemoved,
QStringList itemsUpdated,
QStringList collectionFolders,
bool isEmpty
);
@ -73,8 +79,6 @@ public:
* @brief Gets or sets the folders added to.
*/
void setFoldersAddedTo(QStringList newFoldersAddedTo);
bool foldersAddedToNull() const;
void setFoldersAddedToNull();
/**
* @brief Gets or sets the folders removed from.
@ -84,8 +88,6 @@ public:
* @brief Gets or sets the folders removed from.
*/
void setFoldersRemovedFrom(QStringList newFoldersRemovedFrom);
bool foldersRemovedFromNull() const;
void setFoldersRemovedFromNull();
/**
* @brief Gets or sets the items added.
@ -95,8 +97,6 @@ public:
* @brief Gets or sets the items added.
*/
void setItemsAdded(QStringList newItemsAdded);
bool itemsAddedNull() const;
void setItemsAddedNull();
/**
* @brief Gets or sets the items removed.
@ -106,8 +106,6 @@ public:
* @brief Gets or sets the items removed.
*/
void setItemsRemoved(QStringList newItemsRemoved);
bool itemsRemovedNull() const;
void setItemsRemovedNull();
/**
* @brief Gets or sets the items updated.
@ -117,15 +115,11 @@ public:
* @brief Gets or sets the items updated.
*/
void setItemsUpdated(QStringList newItemsUpdated);
bool itemsUpdatedNull() const;
void setItemsUpdatedNull();
QStringList collectionFolders() const;
void setCollectionFolders(QStringList newCollectionFolders);
bool collectionFoldersNull() const;
void setCollectionFoldersNull();
bool isEmpty() const;