aboutsummaryrefslogtreecommitdiff
path: root/schemas_json
diff options
context:
space:
mode:
authorbozo.kopic <bozo.kopic@gmail.com>2017-08-16 17:29:40 +0200
committerbozo.kopic <bozo.kopic@gmail.com>2017-08-16 17:29:40 +0200
commit074b604076049fb809c22ec0afaf18f5b55cc3ca (patch)
treeaea818a57d790ef0c918e1c551f9e5913066b786 /schemas_json
parent28446d95471e74de364b53c3f24d6182fddac0e0 (diff)
backend
Diffstat (limited to 'schemas_json')
-rw-r--r--schemas_json/server.yaml24
1 files changed, 2 insertions, 22 deletions
diff --git a/schemas_json/server.yaml b/schemas_json/server.yaml
index da50e06..4a576b2 100644
--- a/schemas_json/server.yaml
+++ b/schemas_json/server.yaml
@@ -30,28 +30,8 @@ properties:
default: '/webhook'
repositories:
title: Repositories
- description: List of all repositories with project definitions
+ description: List of all repository urls
type: array
items:
- oneOf:
- - "$ref": "hatter://server.yaml#/definitions/gitlab"
- - "$ref": "hatter://server.yaml#/definitions/github"
-definitions:
- gitlab:
- type: object
- required:
- - type
- - token
- properties:
- type:
- enum:
- - GITLAB
- github:
- type: object
- required:
- - type
- properties:
- type:
- enum:
- - GITHUB
+ type: string
...