Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0056844 | Retail Modules | Web POS | public | 2024-10-21 12:09 | 2024-11-05 08:29 |
|
Reporter | adrianromero | |
Assigned To | ander_flores | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0056844: More Swagger spec definition fixes in org.openbravo.api |
Description | There are several Swagger (OpenAPI) spec fixes that needs to be reviewed:
* Tax Rate (Import)
Fix "Category" field that it is currently empty it should go to "Master Data"
* Product AUM (Import)
There is a java property that overwrites this definition "alternativeUnitOfMeasure". The solution should be just remove this mapping with the confirmation of the Retail team who is the owner of this entity. See attached screenshot.
* Define strategy for fixing swagger validation issues in other API modules owned by other teams
* 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 |
Steps To Reproduce | Run swagger validation 3.1.0 version for generated and manual spec files |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0056613 | | closed | adrianromero | Swagger spec definition fixes in org.openbravo.api | related to | defect | 0056915 | | closed | ander_flores | Fix validation errors in .yml files for Swagger spec files |
|
Attached Files | productaum.png (570,873) 2024-10-21 12:17 https://issues.openbravo.com/file_download.php?file_id=20346&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2024-10-21 12:09 | adrianromero | New Issue | |
2024-10-21 12:09 | adrianromero | Assigned To | => Triage Platform Conn |
2024-10-21 12:09 | adrianromero | Triggers an Emergency Pack | => No |
2024-10-21 12:09 | adrianromero | Issue generated from | 0056613 |
2024-10-21 12:09 | adrianromero | Relationship added | related to 0056613 |
2024-10-21 12:15 | adrianromero | Description Updated | bug_revision_view_page.php?rev_id=28630#r28630 |
2024-10-21 12:16 | adrianromero | Description Updated | bug_revision_view_page.php?rev_id=28631#r28631 |
2024-10-21 12:17 | adrianromero | File Added: productaum.png | |
2024-10-21 12:17 | adrianromero | Status | new => acknowledged |
2024-10-21 12:26 | adrianromero | Assigned To | Triage Platform Conn => ander_flores |
2024-10-24 08:32 | hgbot | Note Added: 0170870 | |
2024-10-25 09:52 | hgbot | Note Added: 0170941 | |
2024-10-28 12:12 | ander_flores | Relationship added | related to 0056915 |
2024-10-29 09:56 | hgbot | Note Added: 0171088 | |
2024-11-05 08:29 | hgbot | Note Added: 0171375 | |
2024-11-05 08:29 | hgbot | Resolution | open => fixed |
2024-11-05 08:29 | hgbot | Status | acknowledged => closed |
2024-11-05 08:29 | hgbot | Note Added: 0171376 | |