diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-06-18 11:22:02 +0200 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-06-19 14:59:32 +0200 |
commit | e0ac446f41fdb1c476196a5ebfb72c995a959b8d (patch) | |
tree | 86e0671f56e5cf7e34b75e0941def7e8ea351b19 | |
parent | 767b97dd885bcc04aac022763e5011115769196a (diff) | |
download | libquotient-e0ac446f41fdb1c476196a5ebfb72c995a959b8d.tar.gz libquotient-e0ac446f41fdb1c476196a5ebfb72c995a959b8d.zip |
*.h.mustache: minor fixes
The Quotient:: workaround seems no more necessary.
-rw-r--r-- | gtad/operation.h.mustache | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gtad/operation.h.mustache b/gtad/operation.h.mustache index 34c8a361..36963b9a 100644 --- a/gtad/operation.h.mustache +++ b/gtad/operation.h.mustache @@ -21,11 +21,7 @@ public: {{>docCommentShort}} struct {{name}}{{#parents?}} : - {{!Quotient:: is a workaround for cases when the same name is used for - the outer and the inner structure (unfortunately very easy - to hit if you don't give a title to the structure that has - $ref and other properties)}} - {{#parents}}Quotient::{{name}}{{>cjoin}}{{/parents}}{{/parents?}} + {{#parents}}{{name}}{{>cjoin}}{{/parents}}{{/parents?}} { {{#vars}} {{>docCommentShort}} @@ -44,9 +40,9 @@ public: {{#allParams?}} /*!{{>docCommentSummary}} {{#allParams}} - * * \param {{nameCamelCase}}{{#description}} - * {{_}}{{/description}} + * {{_}}{{/description}}{{#_join}} + * {{/_join}} {{/allParams}} */ {{/allParams?}}{{^allParams?}} @@ -77,7 +73,8 @@ public: {{/headers}}{{#inlineResponse}} {{>docCommentShort}} - {{dataType.name}} {{paramName}}(){{^moveOnly}}{{^producesNonJson?}} const{{/producesNonJson?}}{{/moveOnly}} + {{dataType.name}} {{paramName}}() + {{^moveOnly}}{{^producesNonJson?}} const{{/producesNonJson?}}{{/moveOnly}} { return {{#producesNonJson?}}reply(){{/producesNonJson?}} {{^producesNonJson? |