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
Device Application Interface API
Commits
a06a6a3b
Commit
a06a6a3b
authored
Nov 12, 2020
by
Michel Roy
Browse files
implicit naming
parent
688d2fb1
Pipeline
#5064
passed with stage
in 0 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
UEAppInterfaceApi.json
View file @
a06a6a3b
...
...
@@ -58,15 +58,10 @@
"content"
:
{
"application/json"
:
{
"schema"
:
{
"type"
:
"object"
,
"properties"
:
{
"applicationList"
:
{
"$ref"
:
"#/components/schemas/ApplicationList"
}
}
}
}
}
},
"400"
:
{
"$ref"
:
"#/components/responses/400"
...
...
@@ -97,15 +92,10 @@
"content"
:
{
"application/json"
:
{
"schema"
:
{
"type"
:
"object"
,
"properties"
:
{
"appContext"
:
{
"$ref"
:
"#/components/schemas/AppContext"
}
}
}
}
}
},
"parameters"
:
[],
"responses"
:
{
...
...
@@ -114,15 +104,10 @@
"content"
:
{
"application/json"
:
{
"schema"
:
{
"type"
:
"object"
,
"properties"
:
{
"appContext"
:
{
"$ref"
:
"#/components/schemas/AppContext"
}
}
}
}
}
},
"400"
:
{
"$ref"
:
"#/components/responses/400"
...
...
@@ -150,37 +135,14 @@
"content"
:
{
"application/json"
:
{
"schema"
:
{
"type"
:
"object"
,
"properties"
:
{
"notification"
:
{
"oneOf"
:
[
{
"$ref"
:
"#/components/schemas/AddressChangeNotification"
},
{
"$ref"
:
"#/components/schemas/ApplicationContextDeleteNotification"
},
{
"$ref"
:
"#/components/schemas/ApplicationContextUpdateNotification"
},
{
"$ref"
:
"#/components/schemas/ApplicationLocationAvailabilityNotification"
}
],
"discriminator"
:
{
"propertyName"
:
"notificationType"
}
}
"$ref"
:
"#/components/schemas/InlineNotification"
},
"example"
:
{
"notification"
:
{
"notificationType"
:
"ApplicationContextDeleteNotification"
,
"contextId"
:
"contextId123"
}
}
}
}
}
},
"responses"
:
{
"204"
:
{
...
...
@@ -207,15 +169,10 @@
"content"
:
{
"application/json"
:
{
"schema"
:
{
"type"
:
"object"
,
"properties"
:
{
"appContext"
:
{
"$ref"
:
"#/components/schemas/AppContext"
}
}
}
}
}
},
"parameters"
:
[
{
...
...
@@ -285,15 +242,10 @@
"content"
:
{
"application/json"
:
{
"schema"
:
{
"type"
:
"object"
,
"properties"
:
{
"applicationLocationAvailability"
:
{
"$ref"
:
"#/components/schemas/ApplicationLocationAvailability"
}
}
}
}
}
},
"parameters"
:
[],
"responses"
:
{
...
...
@@ -302,15 +254,10 @@
"content"
:
{
"application/json"
:
{
"schema"
:
{
"type"
:
"object"
,
"properties"
:
{
"applicationLocationAvailability"
:
{
"$ref"
:
"#/components/schemas/ApplicationLocationAvailability"
}
}
}
}
}
},
"400"
:
{
"$ref"
:
"#/components/responses/400"
...
...
@@ -336,66 +283,43 @@
"400"
:
{
"description"
:
"Bad Request : used to indicate that incorrect parameters were passed to the request."
,
"content"
:
{
"application/json"
:
{
"application/
problem+
json"
:
{
"schema"
:
{
"type"
:
"object"
,
"properties"
:
{
"problemDetails"
:
{
"$ref"
:
"#/components/schemas/ProblemDetails"
}
}
}
}
}
},
"401"
:
{
"description"
:
"Unauthorized : used when the client did not submit credentials."
,
"content"
:
{
"application/json"
:
{
"application/
problem+
json"
:
{
"schema"
:
{
"type"
:
"object"
,
"properties"
:
{
"problemDetails"
:
{
"$ref"
:
"#/components/schemas/ProblemDetails"
}
}
}
}
}
},
"403"
:
{
"description"
:
"Forbidden : operation is not allowed given the current status of the resource."
,
"content"
:
{
"application/json"
:
{
"application/
problem+
json"
:
{
"schema"
:
{
"type"
:
"object"
,
"required"
:
[
"problemDetails"
],
"properties"
:
{
"problemDetails"
:
{
"$ref"
:
"#/components/schemas/ProblemDetails"
}
}
}
}
}
},
"404"
:
{
"description"
:
"Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI."
,
"content"
:
{
"application/json"
:
{
"application/
problem+
json"
:
{
"schema"
:
{
"type"
:
"object"
,
"properties"
:
{
"problemDetails"
:
{
"$ref"
:
"#/components/schemas/ProblemDetails"
}
}
}
}
}
}
},
"parameters"
:
{
"Query.appName"
:
{
...
...
@@ -999,6 +923,25 @@
],
"x-etsi-ref"
:
"6.4.5"
},
"InlineNotification"
:
{
"oneOf"
:
[
{
"$ref"
:
"#/components/schemas/AddressChangeNotification"
},
{
"$ref"
:
"#/components/schemas/ApplicationContextDeleteNotification"
},
{
"$ref"
:
"#/components/schemas/ApplicationContextUpdateNotification"
},
{
"$ref"
:
"#/components/schemas/ApplicationLocationAvailabilityNotification"
}
],
"discriminator"
:
{
"propertyName"
:
"notificationType"
}
},
"LocationConstraints"
:
{
"properties"
:
{
"area"
:
{
...
...
UEAppInterfaceApi.yaml
View file @
a06a6a3b
...
...
@@ -39,9 +39,6 @@ paths:
content
:
application/json
:
schema
:
type
:
object
properties
:
applicationList
:
$ref
:
"
#/components/schemas/ApplicationList"
400
:
$ref
:
"
#/components/responses/400"
...
...
@@ -64,9 +61,6 @@ paths:
content
:
application/json
:
schema
:
type
:
object
properties
:
appContext
:
$ref
:
'
#/components/schemas/AppContext'
parameters
:
[]
responses
:
...
...
@@ -75,9 +69,6 @@ paths:
content
:
application/json
:
schema
:
type
:
object
properties
:
appContext
:
$ref
:
"
#/components/schemas/AppContext"
400
:
$ref
:
'
#/components/responses/400'
...
...
@@ -100,18 +91,8 @@ paths:
content
:
application/json
:
schema
:
type
:
object
properties
:
notification
:
oneOf
:
-
$ref
:
'
#/components/schemas/AddressChangeNotification'
-
$ref
:
'
#/components/schemas/ApplicationContextDeleteNotification'
-
$ref
:
'
#/components/schemas/ApplicationContextUpdateNotification'
-
$ref
:
'
#/components/schemas/ApplicationLocationAvailabilityNotification'
discriminator
:
propertyName
:
notificationType
$ref
:
'
#/components/schemas/InlineNotification'
example
:
notification
:
notificationType
:
ApplicationContextDeleteNotification
contextId
:
'
contextId123'
responses
:
...
...
@@ -130,9 +111,6 @@ paths:
content
:
application/json
:
schema
:
type
:
object
properties
:
appContext
:
$ref
:
'
#/components/schemas/AppContext'
parameters
:
-
$ref
:
'
#/components/parameters/Path.contextId'
...
...
@@ -179,9 +157,6 @@ paths:
content
:
application/json
:
schema
:
type
:
object
properties
:
applicationLocationAvailability
:
$ref
:
'
#/components/schemas/ApplicationLocationAvailability'
parameters
:
[]
responses
:
...
...
@@ -190,9 +165,6 @@ paths:
content
:
application/json
:
schema
:
type
:
object
properties
:
applicationLocationAvailability
:
$ref
:
"
#/components/schemas/ApplicationLocationAvailability"
400
:
$ref
:
'
#/components/responses/400'
...
...
@@ -209,40 +181,26 @@ components:
400
:
description
:
'
Bad
Request
:
used
to
indicate
that
incorrect
parameters
were
passed
to
the
request.'
content
:
application/json
:
application/
problem+
json
:
schema
:
type
:
object
properties
:
problemDetails
:
$ref
:
'
#/components/schemas/ProblemDetails'
401
:
description
:
'
Unauthorized
:
used
when
the
client
did
not
submit
credentials.'
content
:
application/json
:
application/
problem+
json
:
schema
:
type
:
object
properties
:
problemDetails
:
$ref
:
'
#/components/schemas/ProblemDetails'
403
:
description
:
'
Forbidden
:
operation
is
not
allowed
given
the
current
status
of
the
resource.'
content
:
application/json
:
application/
problem+
json
:
schema
:
type
:
object
required
:
-
problemDetails
properties
:
problemDetails
:
$ref
:
'
#/components/schemas/ProblemDetails'
404
:
description
:
'
Not
Found
:
used
when
a
client
provided
a
URI
that
cannot
be
mapped
to
a
valid
resource
URI.'
content
:
application/json
:
application/
problem+
json
:
schema
:
type
:
object
properties
:
problemDetails
:
$ref
:
'
#/components/schemas/ProblemDetails'
parameters
:
Query.appName
:
...
...
@@ -749,6 +707,14 @@ components:
-
notificationType
-
availableLocations
x-etsi-ref
:
6.4.5
InlineNotification
:
oneOf
:
-
$ref
:
'
#/components/schemas/AddressChangeNotification'
-
$ref
:
'
#/components/schemas/ApplicationContextDeleteNotification'
-
$ref
:
'
#/components/schemas/ApplicationContextUpdateNotification'
-
$ref
:
'
#/components/schemas/ApplicationLocationAvailabilityNotification'
discriminator
:
propertyName
:
notificationType
LocationConstraints
:
properties
:
area
:
...
...
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