diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-06-08 12:54:14 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-06-08 12:54:14 +0900 |
commit | 35d4c9d028f6a4387f8168898378e80dd03d7f94 (patch) | |
tree | d143bcf03a181bd0493f5c8946d8b1e8ea540a7c /lib/csapi | |
parent | a2024608abf4912b9720829ba0b0c20bbb4a5916 (diff) | |
download | libquotient-35d4c9d028f6a4387f8168898378e80dd03d7f94.tar.gz libquotient-35d4c9d028f6a4387f8168898378e80dd03d7f94.zip |
gtad.yaml: Update to the released GTAD 0.6
variant types now use comma (,) as a delimiter instead of | (because regexes).
Also: moved around the `schema` section to be closer to `$ref`.
Diffstat (limited to 'lib/csapi')
-rw-r--r-- | lib/csapi/gtad.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/csapi/gtad.yaml b/lib/csapi/gtad.yaml index fcf0ba25..b98d27c9 100644 --- a/lib/csapi/gtad.yaml +++ b/lib/csapi/gtad.yaml @@ -69,6 +69,9 @@ analyzer: { type: EventPtr, imports: '"events/event.h"' } - /m\.room\.member$/: pass # This $ref is only used in an array, see below - //: *UseOmittable # Also apply "avoidCopy" to all other ref'ed types + - schema: # Properties of inline structure definitions + - TurnServerCredentials: *QJsonObject # Because it's used as is + - //: *UseOmittable - array: - string: QStringList - +set: { moveOnly: } @@ -98,11 +101,8 @@ analyzer: type: QVariantHash imports: <QtCore/QVariant> - variant: # A sequence `type` (multitype) in OpenAPI - - "string|null": *QString + - /^string,null|null,string$/: *QString - //: { type: QVariant, imports: <QtCore/QVariant> } - - schema: # Properties of inline structure definitions - - TurnServerCredentials: *QJsonObject # Because it's used as is - - //: *UseOmittable #operations: |