diff options
Diffstat (limited to 'spec/fixtures/api')
-rw-r--r-- | spec/fixtures/api/schemas/public_api/v4/membership.json | 10 | ||||
-rw-r--r-- | spec/fixtures/api/schemas/public_api/v4/memberships.json | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/membership.json b/spec/fixtures/api/schemas/public_api/v4/membership.json new file mode 100644 index 00000000000..3412076f84a --- /dev/null +++ b/spec/fixtures/api/schemas/public_api/v4/membership.json @@ -0,0 +1,10 @@ +{ + "type": "object", + "properties" : { + "source_id": { "type": "integer" }, + "source_name": { "type": "string" }, + "source_type": { "type": "string" }, + "access_level": { "type": "integer" } + }, + "additionalProperties": false +} diff --git a/spec/fixtures/api/schemas/public_api/v4/memberships.json b/spec/fixtures/api/schemas/public_api/v4/memberships.json new file mode 100644 index 00000000000..54c98b9cb99 --- /dev/null +++ b/spec/fixtures/api/schemas/public_api/v4/memberships.json @@ -0,0 +1,4 @@ +{ + "type": "array", + "items": { "$ref": "membership.json" } +} |