Openbravo Issue Tracking System - Retail Modules
View Issue Details
0056915Retail ModulesWeb POSpublic2024-10-28 12:122024-10-30 09:34
ander_flores 
ander_flores 
normalmajorhave not tried
newopen 
5
 
 
No
0056915: Fix validation errors in .yml files for Swagger spec files
There are several validation errors in .yml files used to generate Swagger spec files.

* Good to do: Define and document tool to validate swagger 3.1.0 version files
for example: https://github.com/Redocly/redocly-cli [^] [^] or https://github.com/stoplightio/spectral [^] [^]

In case of redocly:
-> % npm install @redocly/openapi-cli
-> % node_modules/@redocly/openapi-cli/bin/cli.js lint --max-problems 10000 ~/business-api-master-data.json
Run swagger validation 3.1.0 version for generated and manual spec files
No tags attached.
related to defect 0056844 acknowledged ander_flores More Swagger spec definition fixes in org.openbravo.api 
Issue History
2024-10-28 12:12ander_floresNew Issue
2024-10-28 12:12ander_floresAssigned To => ander_flores
2024-10-28 12:12ander_floresTriggers an Emergency Pack => No
2024-10-28 12:12ander_floresRelationship addedrelated to 0056844
2024-10-28 12:54hgbotNote Added: 0171042
2024-10-28 12:54hgbotNote Added: 0171043
2024-10-28 12:54hgbotNote Added: 0171044
2024-10-28 12:54hgbotNote Added: 0171045
2024-10-28 12:54hgbotNote Added: 0171046
2024-10-30 09:26hgbotNote Added: 0171139
2024-10-30 09:34hgbotNote Added: 0171146

Notes
(0171042)
hgbot   
2024-10-28 12:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.crmdeduplication/-/merge_requests/7 [^]
(0171043)
hgbot   
2024-10-28 12:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.giftcards/-/merge_requests/44 [^]
(0171044)
hgbot   
2024-10-28 12:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.api/-/merge_requests/25 [^]
(0171045)
hgbot   
2024-10-28 12:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1740 [^]
(0171046)
hgbot   
2024-10-28 12:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.openapi/-/merge_requests/18 [^]
(0171139)
hgbot   
2024-10-30 09:26   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.openapi/-/merge_requests/18 [^]
(0171146)
hgbot   
2024-10-30 09:34   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/360 [^]