diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-04-17 07:39:10 +0200 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-04-17 07:49:41 +0200 |
commit | 44ea26d3c32dd2f4c4aa53b85ef7ec75fb354cb3 (patch) | |
tree | fe45b0a375994e2b2fefc7b18e84b28574f96aa8 /lib/csapi/gtad.yaml | |
parent | 753c281f4eb055d684e63472468fd091f2166526 (diff) | |
download | libquotient-44ea26d3c32dd2f4c4aa53b85ef7ec75fb354cb3.tar.gz libquotient-44ea26d3c32dd2f4c4aa53b85ef7ec75fb354cb3.zip |
gtad.yaml, *.mustache: upgrade to GTAD 0.7 beta
That means much more readable templates thanks to GTAD 0.7 in turn using
the upgrade Mustache engine.
Diffstat (limited to 'lib/csapi/gtad.yaml')
-rw-r--r-- | lib/csapi/gtad.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/csapi/gtad.yaml b/lib/csapi/gtad.yaml index 6d4e080f..086bd4f7 100644 --- a/lib/csapi/gtad.yaml +++ b/lib/csapi/gtad.yaml @@ -145,6 +145,18 @@ mustache: joinedParamDef: '{{>maybeCrefType}} {{paramName}}{{>cjoin}}' passQueryParams: '{{#queryParams}}{{paramName}}{{>cjoin}}{{/queryParams}}' + # Doc-comment blocks. Comment indent is managed by clang-format + # (without clang-format there'd have to be a separate partial definition + # for each indent...) + + # For structures that are not supposed to have a summary (e.g., JSON schema) + docCommentShort: |- + {{#description}} + /// {{_}}{{/description}} + docCommentSummary: |- + {{#summary}} \brief {{summary}} + *{{/summary}} + templates: - "{{base}}.h.mustache" - "{{base}}.cpp.mustache" |