Example API JSON, "invoice_line_collection.sample", has invalid field

Description

Overview:

The invoice_line_collection.sample file has a removed field, "vendorRefNo" which, when used by tools like raml-cop, fails to load due to the error:

ERROR Content is not valid according to schema: Additional properties not allowed: vendorRefNo

Steps to Reproduce:

  1. Load: acq-models/mod-invoice-storage/examples/invoice_line_collection.sample

  2. Note this sample refers to "vendorRefNo" which has been removed

Expected Results:

The sample should use the new "referenceNumbers" field like in invoice_line.sample.

Actual Results:

Broken sample that cannot be loaded via raml-cop.

Additional Information:

mod-invoice-storage v5.0.0

acq-models commit 6ad8fc2

Failure line: https://github.com/folio-org/acq-models/blob/6ad8fc2d592af22a7db24b0e24a06e998b91f00b/mod-invoice-storage/examples/invoice_line_collection.sample#L40

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Andrei Makaranka April 20, 2021 at 6:04 AM

,

Could you please include/deploy it manually?

Thank you in advance

 

Anton Emelianov April 19, 2021 at 8:14 PM

, this release didn't generate PR for platform_complete R1_2021. Therefore 5.0.1 version cannot be deployed in Iris Bug Fest 

Andrei Makaranka April 8, 2021 at 6:47 AM

Ann-Marie Breaux April 7, 2021 at 7:55 AM

Thanks for reporting this . Looks like Thunderjet will be able to fix it in Sprint 111 and include in the Iris release.

Done

Details

Assignee

Reporter

Labels

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

Release

R1 2021 Bug Fix

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created April 5, 2021 at 4:32 PM
Updated April 23, 2021 at 12:10 PM
Resolved April 8, 2021 at 6:47 AM
TestRail: Cases
TestRail: Runs