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
5241e338
Commit
5241e338
authored
Nov 17, 2021
by
Muhammad Hamza
Browse files
removed unnecessary JSON schema example for ProblemDetails data model
parent
31e4151d
Pipeline
#9682
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
LocationAPI.json
View file @
5241e338
...
...
@@ -2928,18 +2928,7 @@
"content"
:
{
"application/problem+json"
:
{
"schema"
:
{
"$ref"
:
"#/components/schemas/ProblemDetails"
,
"examples"
:
[
{
"application/problem+json"
:
{
"type"
:
"https://meAppServer.example.com/rni/v2/probs/too-many targets"
,
"title"
:
"Too many targets"
,
"status"
:
"422"
,
"detail"
:
"The target area for the request is considered too large"
,
"instance"
:
"/meAppClient.example.com/77777/msgs/abc"
}
}
]
"$ref"
:
"#/components/schemas/ProblemDetails"
}
}
}
...
...
LocationAPI.yaml
View file @
5241e338
...
...
@@ -1859,13 +1859,6 @@ components:
application/problem+json
:
schema
:
$ref
:
'
#/components/schemas/ProblemDetails'
examples
:
-
application/problem+json
:
type
:
'
https://meAppServer.example.com/rni/v2/probs/too-many
targets'
title
:
Too many targets
status
:
'
422'
detail
:
The target area for the request is considered too large
instance
:
/meAppClient.example.com/77777/msgs/abc
429
:
description
:
'
Too
Many
Requests
:
used
when
a
rate
limiter
has
triggered.'
content
:
...
...
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