aboutsummaryrefslogtreecommitdiff
path: root/schemas_json/server.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'schemas_json/server.yaml')
-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
...