Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MEC - Multi-access Edge Computing
MEC Application Support API and MEC Service Management API
Commits
c6b25b4b
Commit
c6b25b4b
authored
Feb 28, 2019
by
Walter Featherstone
Browse files
correct used oneOf for endpoint
parent
dba74484
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
13 deletions
+56
-13
Mp1.json
Mp1.json
+33
-7
Mp1.yaml
Mp1.yaml
+23
-6
No files found.
Mp1.json
View file @
c6b25b4b
...
...
@@ -728,14 +728,31 @@
},
"EndPointInfo.Addresses"
:
{
"description"
:
"Entry point information of the service as one or more pairs of IP address and port"
,
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/components/schemas/EndPointInfo.Address"
"type"
:
"object"
,
"required"
:
[
"addresses"
],
"properties"
:
{
"addresses"
:
{
"type"
:
"array"
,
"minItems"
:
0
,
"items"
:
{
"$ref"
:
"#/components/schemas/EndPointInfo.Address"
}
}
}
},
"EndPointInfo.Alternative"
:
{
"description"
:
"Entry point information of the service in a format defined by an implementation, or in an external specification."
,
"type"
:
"object"
"type"
:
"object"
,
"required"
:
[
"alternative"
],
"properties"
:
{
"alternative"
:
{
"type"
:
"object"
}
}
},
"EndPointInfo.Uri"
:
{
"description"
:
"Entry point information of the service"
,
...
...
@@ -745,9 +762,18 @@
},
"EndPointInfo.Uris"
:
{
"description"
:
"Entry point information of the service as string, formatted according to URI syntax"
,
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/components/schemas/EndPointInfo.Uri"
"type"
:
"object"
,
"required"
:
[
"uris"
],
"properties"
:
{
"uris"
:
{
"type"
:
"array"
,
"minItems"
:
0
,
"items"
:
{
"$ref"
:
"#/components/schemas/EndPointInfo.Uri"
}
}
}
},
"LinkType"
:
{
...
...
Mp1.yaml
View file @
c6b25b4b
...
...
@@ -552,14 +552,25 @@ components:
description
:
>-
Entry point information of the service as one or more pairs of IP
address and port
type
:
array
items
:
$ref
:
'
#/components/schemas/EndPointInfo.Address'
type
:
object
required
:
-
addresses
properties
:
addresses
:
type
:
array
minItems
:
0
items
:
$ref
:
'
#/components/schemas/EndPointInfo.Address'
EndPointInfo.Alternative
:
description
:
>-
Entry point information of the service in a format defined by an
implementation, or in an external specification.
type
:
object
required
:
-
alternative
properties
:
alternative
:
type
:
object
EndPointInfo.Uri
:
description
:
Entry point information of the service
type
:
string
...
...
@@ -569,9 +580,15 @@ components:
description
:
>-
Entry point information of the service as string, formatted according to
URI syntax
type
:
array
items
:
$ref
:
'
#/components/schemas/EndPointInfo.Uri'
type
:
object
required
:
-
uris
properties
:
uris
:
type
:
array
minItems
:
0
items
:
$ref
:
'
#/components/schemas/EndPointInfo.Uri'
LinkType
:
description
:
This type represents a type of link and may be referenced from data structures
type
:
object
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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