Skip to content
GitLab
Projects
Groups
Snippets
/
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
62dc8425
Commit
62dc8425
authored
Feb 28, 2019
by
Walter Featherstone
Browse files
oAuth2Info is not a required parameter & used oneOf for endpoint
parent
f102112e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Mp1.json
View file @
62dc8425
...
@@ -750,21 +750,6 @@
...
@@ -750,21 +750,6 @@
"$ref"
:
"#/components/schemas/EndPointInfo.Uri"
"$ref"
:
"#/components/schemas/EndPointInfo.Uri"
}
}
},
},
"EndPointInfo"
:
{
"description"
:
"This type represents information about a transport endpoint"
,
"type"
:
"object"
,
"properties"
:
{
"uris"
:
{
"$ref"
:
"#/components/schemas/EndPointInfo.Uris"
},
"addresses"
:
{
"$ref"
:
"#/components/schemas/EndPointInfo.Addresses"
},
"alternative"
:
{
"$ref"
:
"#/components/schemas/EndPointInfo.Alternative"
}
}
},
"LinkType"
:
{
"LinkType"
:
{
"description"
:
"This type represents a type of link and may be referenced from data structures"
,
"description"
:
"This type represents a type of link and may be referenced from data structures"
,
"type"
:
"object"
,
"type"
:
"object"
,
...
@@ -911,9 +896,6 @@
...
@@ -911,9 +896,6 @@
"SecurityInfo"
:
{
"SecurityInfo"
:
{
"description"
:
"This type represents security information related to a transport"
,
"description"
:
"This type represents security information related to a transport"
,
"type"
:
"object"
,
"type"
:
"object"
,
"required"
:
[
"oAuth2Info"
],
"properties"
:
{
"properties"
:
{
"oAuth2Info"
:
{
"oAuth2Info"
:
{
"$ref"
:
"#/components/schemas/SecurityInfo.OAuth2Info"
"$ref"
:
"#/components/schemas/SecurityInfo.OAuth2Info"
...
@@ -1518,7 +1500,19 @@
...
@@ -1518,7 +1500,19 @@
"$ref"
:
"#/components/schemas/TransportInfo.Version"
"$ref"
:
"#/components/schemas/TransportInfo.Version"
},
},
"endpoint"
:
{
"endpoint"
:
{
"$ref"
:
"#/components/schemas/EndPointInfo"
"description"
:
"This type represents information about a transport endpoint"
,
"type"
:
"object"
,
"oneOf"
:
[
{
"$ref"
:
"#/components/schemas/EndPointInfo.Uris"
},
{
"$ref"
:
"#/components/schemas/EndPointInfo.Addresses"
},
{
"$ref"
:
"#/components/schemas/EndPointInfo.Alternative"
}
]
},
},
"security"
:
{
"security"
:
{
"$ref"
:
"#/components/schemas/SecurityInfo"
"$ref"
:
"#/components/schemas/SecurityInfo"
...
@@ -2227,12 +2221,6 @@
...
@@ -2227,12 +2221,6 @@
"endpoint"
:
{
"endpoint"
:
{
"uris"
:
[
"uris"
:
[
"/meMp1/service/EntryPoint"
"/meMp1/service/EntryPoint"
],
"addresses"
:
[
{
"host"
:
"192.0.2.0"
,
"port"
:
8080
}
]
]
},
},
"security"
:
{
"security"
:
{
...
@@ -2267,9 +2255,6 @@
...
@@ -2267,9 +2255,6 @@
"protocol"
:
"HTTP"
,
"protocol"
:
"HTTP"
,
"version"
:
"2.0"
,
"version"
:
"2.0"
,
"endpoint"
:
{
"endpoint"
:
{
"uris"
:
[
"/meMp1/service/EntryPoint"
],
"addresses"
:
[
"addresses"
:
[
{
{
"host"
:
"192.0.2.0"
,
"host"
:
"192.0.2.0"
,
...
...
Mp1.yaml
View file @
62dc8425
...
@@ -695,8 +695,6 @@ components:
...
@@ -695,8 +695,6 @@ components:
SecurityInfo
:
SecurityInfo
:
description
:
This type represents security information related to a transport
description
:
This type represents security information related to a transport
type
:
object
type
:
object
required
:
-
oAuth2Info
properties
:
properties
:
oAuth2Info
:
oAuth2Info
:
$ref
:
'
#/components/schemas/SecurityInfo.OAuth2Info'
$ref
:
'
#/components/schemas/SecurityInfo.OAuth2Info'
...
...
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