env: preamble: preamble.mustache copyrightName: Kitsune Ral copyrightEmail: imports: { set: } returnFile?: { bool: false } templates: - "{{base}}.h.mustache" - "{{base}}.cpp.mustache" outFilesList: apifiles.txt # 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: double boolean: bool string: - /byte|binary/: { type: QByteArray, imports: } - date: type: QDate avoidCopy?: true imports: - dateTime: type: QDateTime avoidCopy?: true imports: - //: { type: QString, imports: } file: type: QByteArray imports: returnFile?: true name: data "[]": { type: "QVector<{{type}}>", imports: } "{}": type: "QHash" imports: [ , ] operations: