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
Location API
Commits
31e4151d
Commit
31e4151d
authored
Nov 16, 2021
by
Muhammad Hamza
Browse files
Update example keywords for OAS 3.1.0
parent
3fc69032
Pipeline
#9676
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
LocationAPI.json
View file @
31e4151d
...
...
@@ -1954,9 +1954,9 @@
"userTrackingSubscription"
:
{
"$ref"
:
"#/components/schemas/UserTrackingSubscription"
}
}
},
"example"
:
{
"examples"
:
[
{
"userTrackingSubscription"
:
{
"clientCorrelator"
:
"0123"
,
"callbackReference"
:
{
...
...
@@ -1969,6 +1969,8 @@
"resourceURL"
:
"http://meAppServer.example.com/location/v2/subscriptions/userTracking/sub123"
}
}
]
}
}
}
},
...
...
@@ -2355,9 +2357,9 @@
"zonalTrafficSubscription"
:
{
"$ref"
:
"#/components/schemas/ZonalTrafficSubscription"
}
}
},
"example"
:
{
"examples"
:
[
{
"zonalTrafficSubscription"
:
{
"clientCorrelator"
:
"0123"
,
"callbackReference"
:
{
...
...
@@ -2370,6 +2372,8 @@
"resourceURL"
:
"http://meAppServer.example.com/location/v2/subscriptions/zonalTraffic/sub123"
}
}
]
}
}
}
},
...
...
@@ -2750,9 +2754,9 @@
"zoneStatusSubscription"
:
{
"$ref"
:
"#/components/schemas/ZoneStatusSubscription"
}
}
},
"example"
:
{
"examples"
:
[
{
"zoneStatusSubscription"
:
{
"clientCorrelator"
:
"0123"
,
"callbackReference"
:
{
...
...
@@ -2766,6 +2770,8 @@
"resourceURL"
:
"http://meAppServer.example.com/location/v2/subscriptions/zoneStatus/sub123"
}
}
]
}
}
}
},
...
...
@@ -2922,9 +2928,9 @@
"content"
:
{
"application/problem+json"
:
{
"schema"
:
{
"$ref"
:
"#/components/schemas/ProblemDetails"
},
"example"
:
{
"$ref"
:
"#/components/schemas/ProblemDetails"
,
"examples"
:
[
{
"application/problem+json"
:
{
"type"
:
"https://meAppServer.example.com/rni/v2/probs/too-many targets"
,
"title"
:
"Too many targets"
,
...
...
@@ -2933,6 +2939,8 @@
"instance"
:
"/meAppClient.example.com/77777/msgs/abc"
}
}
]
}
}
}
},
...
...
LocationAPI.yaml
View file @
31e4151d
...
...
@@ -1257,8 +1257,8 @@ paths:
properties
:
userTrackingSubscription
:
$ref
:
'
#/components/schemas/UserTrackingSubscription'
example
:
userTrackingSubscription
:
example
s
:
-
userTrackingSubscription
:
clientCorrelator
:
'
0123'
callbackReference
:
notifyURL
:
'
http://my.callback.com/location_notifications/some-id'
...
...
@@ -1503,8 +1503,8 @@ paths:
properties
:
zonalTrafficSubscription
:
$ref
:
'
#/components/schemas/ZonalTrafficSubscription'
example
:
zonalTrafficSubscription
:
example
s
:
-
zonalTrafficSubscription
:
clientCorrelator
:
'
0123'
callbackReference
:
notifyURL
:
'
http://my.callback.com/location_notifications/some-id'
...
...
@@ -1748,8 +1748,8 @@ paths:
properties
:
zoneStatusSubscription
:
$ref
:
'
#/components/schemas/ZoneStatusSubscription'
example
:
zoneStatusSubscription
:
example
s
:
-
zoneStatusSubscription
:
clientCorrelator
:
'
0123'
callbackReference
:
notifyURL
:
'
http://my.callback.com/location_notifications/some-id'
...
...
@@ -1859,8 +1859,8 @@ components:
application/problem+json
:
schema
:
$ref
:
'
#/components/schemas/ProblemDetails'
example
:
application/problem+json
:
example
s
:
-
application/problem+json
:
type
:
'
https://meAppServer.example.com/rni/v2/probs/too-many
targets'
title
:
Too many targets
status
:
'
422'
...
...
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