diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-07-22 19:47:28 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-07-22 19:47:28 +0900 |
commit | 716aa2a97d6654cc45ed6a9c8b08cad6d833e301 (patch) | |
tree | 685df3b138a6db0b5703b152d71271fa6966921f /lib/csapi/{{base}}.cpp.mustache | |
parent | 86ae04267e14ff03b5157e2d92a90fb74ce422a6 (diff) | |
download | libquotient-716aa2a97d6654cc45ed6a9c8b08cad6d833e301.tar.gz libquotient-716aa2a97d6654cc45ed6a9c8b08cad6d833e301.zip |
Switched to GTAD 0.7-pre
{{>}} instead of {{#@filePartial}}, library macros begin with _ instead
of @, mustache/definitions split - see the GTAD commit log.
Diffstat (limited to 'lib/csapi/{{base}}.cpp.mustache')
-rw-r--r-- | lib/csapi/{{base}}.cpp.mustache | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csapi/{{base}}.cpp.mustache b/lib/csapi/{{base}}.cpp.mustache index 78265951..eced328c 100644 --- a/lib/csapi/{{base}}.cpp.mustache +++ b/lib/csapi/{{base}}.cpp.mustache @@ -1,4 +1,4 @@ -{{#@filePartial}}preamble{{/@filePartial}} +{{>preamble}} #include "{{filenameBase}}.h" {{^models}} #include "converters.h" @@ -76,7 +76,7 @@ QUrl {{camelCaseOperationId}}Job::makeRequestUrl(QUrl baseUrl{{#allParams?}}, {{ static const auto {{camelCaseOperationId}}JobName = QStringLiteral("{{camelCaseOperationId}}Job"); {{camelCaseOperationId}}Job::{{camelCaseOperationId}}Job({{#allParams}}{{>joinedParamDef}}{{/allParams}}) - : BaseJob(HttpVerb::{{#@cap}}{{#@tolower}}{{httpMethod}}{{/@tolower}}{{/@cap}}, {{camelCaseOperationId}}JobName, + : BaseJob(HttpVerb::{{#_cap}}{{#_tolower}}{{httpMethod}}{{/_tolower}}{{/_cap}}, {{camelCaseOperationId}}JobName, basePath{{#pathParts}} % {{_}}{{/pathParts}}{{#queryParams?}}, queryTo{{camelCaseOperationId}}({{>passQueryParams}}){{/queryParams?}}{{#skipAuth}}{{#queryParams?}}, {}{{/queryParams?}}, false{{/skipAuth}}){{#responses}}{{#normalResponse?}}{{#allProperties?}} |