"Agreements": {
"description": "Marketing agreements of the Client",
"required": [
"email",
"sms",
"push",
"bluetooth",
"rfid",
"wifi"
],
"type": "object",
"properties": {
"email": {
"type": "boolean",
"description": "Permission to receive marketing information by e-mail"
},
"sms": {
"type": "boolean",
"description": "Permission to receive marketing information by SMS"
},
"push": {
"type": "boolean",
"description": "Permission to receive push notifications"
},
"bluetooth": {
"type": "boolean"
},
"rfid": {
"type": "boolean"
},
"wifi": {
"type": "boolean"
}
The output is in the attached image and my problem is marked with arrows. Can I stop ReDoc from attaching the name of the referenced schema? I can use a reference resolver (swagger-combine in my case, with just one file to combine with nothing) before feeding my spec to ReDoc, but could I avoid this additional step?
Here's my piece of spec:
Here's the "Agreements" schema:
The output is in the attached image and my problem is marked with arrows. Can I stop ReDoc from attaching the name of the referenced schema? I can use a reference resolver (swagger-combine in my case, with just one file to combine with nothing) before feeding my spec to ReDoc, but could I avoid this additional step?