mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-05 10:12:46 +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:
parent
eeb9183909
commit
d685b48ec1
504 changed files with 62190 additions and 41202 deletions
|
@ -35,7 +35,6 @@
|
|||
#include <QString>
|
||||
#include <optional>
|
||||
|
||||
#include "JellyfinQt/dto/configurationpagetype.h"
|
||||
#include "JellyfinQt/support/jsonconv.h"
|
||||
|
||||
namespace Jellyfin {
|
||||
|
@ -48,9 +47,9 @@ namespace DTO {
|
|||
|
||||
class ConfigurationPageInfo {
|
||||
public:
|
||||
ConfigurationPageInfo(
|
||||
bool enableInMainMenu,
|
||||
ConfigurationPageType configurationPageType
|
||||
ConfigurationPageInfo(
|
||||
QString name,
|
||||
bool enableInMainMenu
|
||||
);
|
||||
|
||||
ConfigurationPageInfo(const ConfigurationPageInfo &other);
|
||||
|
@ -73,8 +72,6 @@ public:
|
|||
* @brief Gets or sets the name.
|
||||
*/
|
||||
void setName(QString newName);
|
||||
bool nameNull() const;
|
||||
void setNameNull();
|
||||
|
||||
/**
|
||||
* @brief Gets or sets a value indicating whether the configurations page is enabled in the main menu.
|
||||
|
@ -118,11 +115,6 @@ public:
|
|||
bool displayNameNull() const;
|
||||
void setDisplayNameNull();
|
||||
|
||||
|
||||
ConfigurationPageType configurationPageType() const;
|
||||
|
||||
void setConfigurationPageType(ConfigurationPageType newConfigurationPageType);
|
||||
|
||||
/**
|
||||
* @brief Gets or sets the plugin id.
|
||||
*/
|
||||
|
@ -141,7 +133,6 @@ protected:
|
|||
QString m_menuSection;
|
||||
QString m_menuIcon;
|
||||
QString m_displayName;
|
||||
ConfigurationPageType m_configurationPageType;
|
||||
QString m_pluginId;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue