aboutsummaryrefslogtreecommitdiff
path: root/jobs/{{base}}.cpp.mustache
AgeCommit message (Collapse)Author
2018-02-03GTAD: Generate job-specific makeRequestUrl() methodsKitsune Ral
2018-01-09Job template: Use QIODevice instead of QByteArray to store byte streamsKitsune Ral
This allows smooth pipelining of files to and from the network.
2018-01-05jobs/generated: Convert numbers to string in a way that actually worksKitsune Ral
Plus a bit of fooling around with linebreaks.
2018-01-05{{base}}.cpp.mustache: Fix addExpectedContentType() invocation codeKitsune Ral
2018-01-03Fully support content-repo APIKitsune Ral
That includes dealing with headers and raw (non-JSON) responses.
2017-12-07Use new GTAD features: avoid copying of custom schemas; inline body where ↵Kitsune Ral
appropriate Body inlining is needed in content-repo cases and also cases with freeform JSON in the body (such as the one of upcoming PostReceiptJob).
2017-12-06GTAD pre-0.4, with local data types and parametrised arrays; make avoidCopy? ↵Kitsune Ral
actually work Along with this: - avoid copying of QStrings (unneeded convenience in our case) - even less empty lines
2017-11-30Generated jobs: Apply naming convention to parametersKitsune Ral
It's now camelCase everywhere, even if The Spec uses snake_case (it is not consistent in that respect).
2017-10-19Generated jobs: Don't dump empty strings to body parametersKitsune Ral
This is important for (soon to be added) LoginJob, since the server is sensitive to getting an (even empty) entity for "medium" as opposed to omitting it entirely. This cannot be addressed on the spec level; on the other hand, removing empty parameters from the payload reduces useless bytes getting on the wire.
2017-10-12{{templates}} polishingKitsune Ral
2017-10-10Jobs with non-trivial results are generated properlyKitsune Ral
This addresses the last bullet in KitsuneRal/gtad#10, completing the implementation.
2017-10-02Drop ConnectionData parameter from {{template}} files too; less blanksKitsune Ral
2017-09-08Prepend basePath to produce endpoint paths correctlyKitsune Ral
2017-09-01Added files to (eventually) generate *Job classes automaticallyKitsune Ral
KitsuneRal/api-generator project is a place where all the heavy lifting will (eventually) be implemented. This commit marks a point when the generated files at least compile (whether they work is not tested yet). Return values are so far entirely ignored.