Commit 31e4151d authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

Update example keywords for OAS 3.1.0

parent 3fc69032
Pipeline #9676 failed with stage
in 0 seconds
......@@ -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"
}
}
]
}
}
}
},
......
......@@ -1257,8 +1257,8 @@ paths:
properties:
userTrackingSubscription:
$ref: '#/components/schemas/UserTrackingSubscription'
example:
userTrackingSubscription:
examples:
- 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:
examples:
- 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:
examples:
- 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:
examples:
- application/problem+json:
type: 'https://meAppServer.example.com/rni/v2/probs/too-many targets'
title: Too many targets
status: '422'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment