mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2024-11-22 17:25:17 +00:00
18 lines
507 B
Handlebars
18 lines
507 B
Handlebars
{{#if endpoint.hasSuccessResponse}}
|
|
{{#if endpoint.description.length > 0}}
|
|
/**
|
|
* @brief {{endpoint.description}}
|
|
|
|
*/
|
|
{{/if}}
|
|
|
|
class {{className}} : public {{supportNamespace}}::HttpLoader<{{dtoNamespace}}::{{endpoint.resultType}}, {{endpoint.parameterType}}> {
|
|
public:
|
|
explicit {{className}}(ApiClient *apiClient = nullptr);
|
|
|
|
protected:
|
|
QString path(const {{endpoint.parameterType}}& parameters) const override;
|
|
QUrlQuery query(const {{endpoint.parameterType}}& parameters) const override;
|
|
};
|
|
{{/if}}
|