From 1db74d1326eb3ba5fb5cb9b9cf658061a2166ed3 Mon Sep 17 00:00:00 2001 From: Serhii Nosko Date: Tue, 15 Oct 2024 10:08:13 +0300 Subject: [PATCH] MODINVOICE-557. API doc has wrong input for POST /invoice/invoices/{id}/documents (#511) --- ramls/acq-models | 2 +- ramls/invoice.raml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ramls/acq-models b/ramls/acq-models index c1f931704..42b4c144f 160000 --- a/ramls/acq-models +++ b/ramls/acq-models @@ -1 +1 @@ -Subproject commit c1f931704fc6d2dedfc671e308b27f56499750a7 +Subproject commit 42b4c144f867f9ac0b229dc583838389baae83a8 diff --git a/ramls/invoice.raml b/ramls/invoice.raml index 9c526bcb7..2fae17ab5 100644 --- a/ramls/invoice.raml +++ b/ramls/invoice.raml @@ -87,6 +87,9 @@ resourceTypes: is: [validate] body: application/octet-stream: + example: + strict: false + value: !include acq-models/mod-invoice-storage/examples/document.sample responses: 201: description: "Returns a newly created item, with server-controlled fields like 'id' populated"