Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.core
Commits
c6e122e6
Commit
c6e122e6
authored
Nov 23, 2018
by
Samuel GAIST
Browse files
[schema][algorithm] Separate endpoint definition
parent
0dadd0f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/core/schema/algorithm/common.json
View file @
c6e122e6
...
...
@@ -5,19 +5,23 @@
"definitions"
:
{
"endpoint"
:
{
"type"
:
"object"
,
"properties"
:
{
"type"
:
{
"$ref"
:
"../common/1.json#/definitions/reference"
},
"description"
:
{
"type"
:
"string"
}
},
"required"
:
[
"type"
],
"additionalProperties"
:
false
},
"endpoints"
:
{
"type"
:
"object"
,
"patternProperties"
:
{
"^[a-zA-Z_][a-zA-Z0-9_-]*$"
:
{
"type"
:
"object"
,
"properties"
:
{
"type"
:
{
"$ref"
:
"../common/1.json#/definitions/reference"
},
"description"
:
{
"type"
:
"string"
}
},
"required"
:
[
"type"
],
"additionalProperties"
:
false
"$ref"
:
"#/definitions/endpoint"
}
},
"uniqueItems"
:
true
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment