"/invoices/{invoiceId}/receipt": {
parameters: [
{
$ref: "#/components/parameters/invoiceId",
},
],
get: {
operationId: "getPreviewReceipt",
responses: {
"200": {
content: {
"application/pdf": {
schema: {
type: "string",
format: "base64",
},
},
},
headers: {
"Content-Disposition": {
schema: {
type: "string",
example: "attachment; filename='name.pdf'",
},
},
},
},
}
}
}
"/invoices/{invoiceId}/receipt": {
parameters: [
{
$ref: "#/components/parameters/invoiceId",
},
],
get: {
operationId: "getPreviewReceipt",
responses: {
"200": {
content: {
"application/pdf": {
schema: {
type: "string",
format: "base64",
},
},
},
headers: {
"Content-Disposition": {
schema: {
type: "string",
example: "attachment; filename='name.pdf'",
},
},
},
},
}
}
}