Commit 5241e338 authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

removed unnecessary JSON schema example for ProblemDetails data model

parent 31e4151d
Pipeline #9682 failed with stage
in 0 seconds
...@@ -2928,18 +2928,7 @@ ...@@ -2928,18 +2928,7 @@
"content": { "content": {
"application/problem+json": { "application/problem+json": {
"schema": { "schema": {
"$ref": "#/components/schemas/ProblemDetails", "$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"
}
}
]
} }
} }
} }
......
...@@ -1859,13 +1859,6 @@ components: ...@@ -1859,13 +1859,6 @@ components:
application/problem+json: application/problem+json:
schema: schema:
$ref: '#/components/schemas/ProblemDetails' $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: 429:
description: 'Too Many Requests : used when a rate limiter has triggered.' description: 'Too Many Requests : used when a rate limiter has triggered.'
content: content:
......
Markdown is supported
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