diff options
author | Travis Miller <travis@travismiller.com> | 2017-08-21 18:57:20 -0500 |
---|---|---|
committer | Travis Miller <travis@travismiller.com> | 2017-10-22 08:04:42 -0500 |
commit | de4d1bacc6ec0e5d6d8b3aad7617cd7880185044 (patch) | |
tree | cea9accc5dc2d7ee4369d970a40e6374033a3e42 | |
parent | 6e5f63acce8768637a774e82adc5add755b7c0ac (diff) | |
download | gitlab-ce-de4d1bacc6ec0e5d6d8b3aad7617cd7880185044.tar.gz |
Add pages domains API schema
-rw-r--r-- | spec/fixtures/api/schemas/public_api/v4/pages_domains.json | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/pages_domains.json b/spec/fixtures/api/schemas/public_api/v4/pages_domains.json new file mode 100644 index 00000000000..0de1d0f1228 --- /dev/null +++ b/spec/fixtures/api/schemas/public_api/v4/pages_domains.json @@ -0,0 +1,23 @@ +{ + "type": "array", + "items": { + "type": "object", + "properties": { + "domain": { "type": "string" }, + "url": { "type": "uri" }, + "certificate": { + "type": "object", + "properties": { + "subject": { "type": "string" }, + "expired": { "type": "boolean" }, + "certificate": { "type": "string" }, + "certificate_text": { "type": "string" } + }, + "required": ["subject", "expired"], + "additionalProperties": false + } + }, + "required": ["domain", "url"], + "additionalProperties": false + } +} |