Commit 17bdb30b authored by Walter Featherstone's avatar Walter Featherstone
Browse files

Change content type to text/plain of rEmpty schema to avoid potential JSON parser issues

parent a12d6d23
...@@ -1936,7 +1936,7 @@ ...@@ -1936,7 +1936,7 @@
"$ref": "#/components/schemas/ProblemDetails" "$ref": "#/components/schemas/ProblemDetails"
} }
}, },
"application/json": { "text/plain": {
"schema": { "schema": {
"$ref": "#/components/schemas/Empty" "$ref": "#/components/schemas/Empty"
} }
...@@ -1961,7 +1961,7 @@ ...@@ -1961,7 +1961,7 @@
"$ref": "#/components/schemas/ProblemDetails" "$ref": "#/components/schemas/ProblemDetails"
} }
}, },
"application/json": { "text/plain": {
"schema": { "schema": {
"$ref": "#/components/schemas/Empty" "$ref": "#/components/schemas/Empty"
} }
...@@ -1976,7 +1976,7 @@ ...@@ -1976,7 +1976,7 @@
"$ref": "#/components/schemas/ProblemDetails" "$ref": "#/components/schemas/ProblemDetails"
} }
}, },
"application/json": { "text/plain": {
"schema": { "schema": {
"$ref": "#/components/schemas/Empty" "$ref": "#/components/schemas/Empty"
} }
......
...@@ -1515,7 +1515,7 @@ components: ...@@ -1515,7 +1515,7 @@ components:
application/problem+json: application/problem+json:
schema: schema:
$ref: '#/components/schemas/ProblemDetails' $ref: '#/components/schemas/ProblemDetails'
application/json: text/plain:
schema: schema:
$ref: '#/components/schemas/Empty' $ref: '#/components/schemas/Empty'
Error.403: Error.403:
...@@ -1530,7 +1530,7 @@ components: ...@@ -1530,7 +1530,7 @@ components:
application/problem+json: application/problem+json:
schema: schema:
$ref: '#/components/schemas/ProblemDetails' $ref: '#/components/schemas/ProblemDetails'
application/json: text/plain:
schema: schema:
$ref: '#/components/schemas/Empty' $ref: '#/components/schemas/Empty'
Error.412: Error.412:
...@@ -1539,7 +1539,7 @@ components: ...@@ -1539,7 +1539,7 @@ components:
application/problem+json: application/problem+json:
schema: schema:
$ref: '#/components/schemas/ProblemDetails' $ref: '#/components/schemas/ProblemDetails'
application/json: text/plain:
schema: schema:
$ref: '#/components/schemas/Empty' $ref: '#/components/schemas/Empty'
requestBodies: requestBodies:
......
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