From ce1bbe88509715c9a35bb7aeeb5f20f0d4918ec4 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Mon, 2 Oct 2017 20:07:59 +0900 Subject: api-generator has been renamed to gtad --- jobs/apigen.yaml | 57 -------------------------------------------------------- jobs/gtad.yaml | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 57 deletions(-) delete mode 100644 jobs/apigen.yaml create mode 100644 jobs/gtad.yaml (limited to 'jobs') diff --git a/jobs/apigen.yaml b/jobs/apigen.yaml deleted file mode 100644 index 69662a5d..00000000 --- a/jobs/apigen.yaml +++ /dev/null @@ -1,57 +0,0 @@ -preprocess: - "%CLIENT_RELEASE_LABEL%": r0 - "%CLIENT_MAJOR_VERSION%": r0 - -# Structure: -# swaggerType: -# OR -# swaggerType: -# - swaggerFormat: -# - /swaggerFormatRegEx/: -# - //: # default, if the format doesn't mach anything above -# WHERE -# targetTypeSpec = targetType OR -# { type: targetType, imports: , } -types: - integer: - - int64: qint64 - - int32: qint32 - - //: int - number: - - float: float - - //: double - boolean: bool - string: - - byte: &QByteArray { type: QByteArray, imports: } - - binary: *QByteArray - - date: - type: QDate - avoidCopy?: true - imports: - - dateTime: - type: QDateTime - avoidCopy?: true - imports: - - //: { type: QString, imports: } - file: - type: QByteArray - imports: - "returnFile?": true - object: { type: QJsonObject, "avoidCopy?": true, imports: } - array: { type: "QVector<{{1}}>", "avoidCopy?": true, imports: } - -#operations: - -env: -# preamble: preamble.mustache - copyrightName: Kitsune Ral - copyrightEmail: -# imports: { set: } -# returnFile?: { bool: false } - -templates: -- "{{base}}.h.mustache" -- "{{base}}.cpp.mustache" - -#outFilesList: apifiles.txt - diff --git a/jobs/gtad.yaml b/jobs/gtad.yaml new file mode 100644 index 00000000..69662a5d --- /dev/null +++ b/jobs/gtad.yaml @@ -0,0 +1,57 @@ +preprocess: + "%CLIENT_RELEASE_LABEL%": r0 + "%CLIENT_MAJOR_VERSION%": r0 + +# Structure: +# swaggerType: +# OR +# swaggerType: +# - swaggerFormat: +# - /swaggerFormatRegEx/: +# - //: # default, if the format doesn't mach anything above +# WHERE +# targetTypeSpec = targetType OR +# { type: targetType, imports: , } +types: + integer: + - int64: qint64 + - int32: qint32 + - //: int + number: + - float: float + - //: double + boolean: bool + string: + - byte: &QByteArray { type: QByteArray, imports: } + - binary: *QByteArray + - date: + type: QDate + avoidCopy?: true + imports: + - dateTime: + type: QDateTime + avoidCopy?: true + imports: + - //: { type: QString, imports: } + file: + type: QByteArray + imports: + "returnFile?": true + object: { type: QJsonObject, "avoidCopy?": true, imports: } + array: { type: "QVector<{{1}}>", "avoidCopy?": true, imports: } + +#operations: + +env: +# preamble: preamble.mustache + copyrightName: Kitsune Ral + copyrightEmail: +# imports: { set: } +# returnFile?: { bool: false } + +templates: +- "{{base}}.h.mustache" +- "{{base}}.cpp.mustache" + +#outFilesList: apifiles.txt + -- cgit v1.2.3