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
241380e2
Commit
241380e2
authored
Jan 11, 2019
by
Walter Featherstone
Browse files
Bug 83 OpenAPI examples and documentation mismatch
Signed-off-by:
featherstone
<
walter.featherstone@viavisolutions.com
>
parent
1f01c74f
Changes
5
Show whitespace changes
Inline
Side-by-side
Mp1.json
View file @
241380e2
...
...
@@ -175,7 +175,7 @@
}
},
"examples"
:
{
"application/json"
:
{
"application/json"
:
[
{
"DnsRule"
:
{
"dnsRuleId"
:
"DnsRule1"
,
"domainName"
:
"www.example.com"
,
...
...
@@ -184,7 +184,7 @@
"ttl"
:
300
,
"state"
:
"ACTIVE"
}
}
}
]
}
},
"400"
:
{
...
...
@@ -652,7 +652,7 @@
}
},
"examples"
:
{
"application/json"
:
{
"application/json"
:
[
{
"TrafficRule"
:
{
"trafficRuleId"
:
"TrafficRule123"
,
"serName"
:
"ExampleService"
,
...
...
@@ -677,7 +677,7 @@
},
"state"
:
"ACTIVE"
}
}
}
]
}
},
"400"
:
{
...
...
@@ -946,7 +946,7 @@
}
},
"examples"
:
{
"application/json"
:
{
"application/json"
:
[
{
"ServiceInfo"
:
{
"serInstanceId"
:
"ServiceInstance123"
,
"serName"
:
"ExampleService"
,
...
...
@@ -986,7 +986,7 @@
},
"serializer"
:
"JSON"
}
}
}
]
}
},
"400"
:
{
...
...
Mp1.yaml
View file @
241380e2
...
...
@@ -139,7 +139,7 @@ paths:
$ref
:
'
#/definitions/DnsRule'
examples
:
application/json
:
DnsRule
:
-
DnsRule
:
dnsRuleId
:
DnsRule1
domainName
:
www.example.com
ipAddressType
:
IP_V4
...
...
@@ -439,7 +439,7 @@ paths:
$ref
:
'
#/definitions/TrafficRule'
examples
:
application/json
:
TrafficRule
:
-
TrafficRule
:
trafficRuleId
:
TrafficRule123
serName
:
ExampleService
filterType
:
FLOW
...
...
@@ -627,7 +627,7 @@ paths:
$ref
:
'
#/definitions/ServiceInfo'
examples
:
application/json
:
ServiceInfo
:
-
ServiceInfo
:
serInstanceId
:
ServiceInstance123
serName
:
ExampleService
serCategory
:
...
...
paths/ApplicationsDnsRules.GET.yaml
View file @
241380e2
...
...
@@ -15,7 +15,7 @@ responses:
$ref
:
'
#/definitions/DnsRule'
examples
:
application/json
:
DnsRule
:
-
DnsRule
:
dnsRuleId
:
DnsRule1
domainName
:
www.example.com
ipAddressType
:
IP_V4
...
...
paths/ApplicationsTrafficRule.GET.yaml
View file @
241380e2
...
...
@@ -13,7 +13,7 @@ responses:
$ref
:
'
#/definitions/TrafficRule'
examples
:
application/json
:
TrafficRule
:
-
TrafficRule
:
trafficRuleId
:
TrafficRule123
serName
:
ExampleService
filterType
:
FLOW
...
...
paths/Services.GET.yaml
View file @
241380e2
...
...
@@ -19,7 +19,7 @@ responses:
$ref
:
'
#/definitions/ServiceInfo'
examples
:
application/json
:
ServiceInfo
:
-
ServiceInfo
:
serInstanceId
:
ServiceInstance123
serName
:
ExampleService
serCategory
:
...
...
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