mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-05 10:12:46 +00:00
openapigen: support for 204 No Content endpoints
This commit is contained in:
parent
b257fe60aa
commit
77cb5d5957
66 changed files with 6169 additions and 84 deletions
|
@ -120,6 +120,20 @@ protected:
|
|||
QByteArray body(const GetParentPathParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
/**
|
||||
* @brief Validates path.
|
||||
*/
|
||||
|
||||
class ValidatePathLoader : public Jellyfin::Support::HttpLoader<void, ValidatePathParams> {
|
||||
public:
|
||||
explicit ValidatePathLoader(ApiClient *apiClient = nullptr);
|
||||
|
||||
protected:
|
||||
QString path(const ValidatePathParams& parameters) const override;
|
||||
QUrlQuery query(const ValidatePathParams& parameters) const override;
|
||||
QByteArray body(const ValidatePathParams& parameters) const override;
|
||||
QNetworkAccessManager::Operation operation() const override;
|
||||
};
|
||||
|
||||
} // NS HTTP
|
||||
} // NS Loader
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue