32 lines
529 B
JSON
32 lines
529 B
JSON
{
|
|
"openapi": "3.1.0",
|
|
"info": {
|
|
"title": "XML hostile",
|
|
"version": "1"
|
|
},
|
|
"paths": {
|
|
"/xml": {
|
|
"get": {
|
|
"operationId": "xmlOperation",
|
|
"responses": {
|
|
"200": {
|
|
"description": "ok",
|
|
"content": {
|
|
"application/xml": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"servers": [
|
|
{
|
|
"url": "https://api.example.test"
|
|
}
|
|
]
|
|
}
|