Openbravo Issue Tracking System - Retail Modules
View Issue Details
0048285Retail ModulesRetail APIpublic2021-12-20 11:542022-02-11 09:16
caristu 
Triage Platform Conn 
highminorhave not tried
closedopen 
5
 
 
caristu
No
0048285: Documentation of custom properties is wrongly exported
Current Status about the Retail API (Open API/Swagger)documentation: currently it is possible to export the documentation of a Retail API entity mapping (endpoint) to the module that it belongs. This possible after fixing 0047887.

The documentation is exported in a .json file that we are currently persisting in each module repository. This is problematic specially in those cases where an entity mapping has custom property mappings defined as part of another module. In that case the .json file containing the documentation has information of other modules which is not correct.
.
- Do not persist the .json file in the repository. Generated code should not be persisted.
- TBD: add a dependency for the Retail API module with the Open API (Swagger) module
- Update the docs to explain the tasks that should be executed to properly deploy the doc because the .json file should be generated as it will not be longer included as part of the module
No tags attached.
related to feature request 0047887 closed caristu Support exporting Retail API documentation to external modules 
related to feature request 0048366 closed caristu Split Retail API Infrastructure into a new module 
Issue History
2021-12-20 11:54caristuNew Issue
2021-12-20 11:54caristuAssigned To => Retail
2021-12-20 11:54caristuTriggers an Emergency Pack => No
2021-12-20 11:54caristuRelationship addedrelated to 0047887
2022-01-11 12:31alostaleAssigned ToRetail => Triage Platform Conn
2022-01-18 13:40caristuStatusnew => acknowledged
2022-01-25 16:52caristuRelationship addedrelated to 0048366
2022-02-11 09:16caristuStatusacknowledged => scheduled
2022-02-11 09:16caristuReview Assigned To => caristu
2022-02-11 09:16caristuNote Added: 0134915
2022-02-11 09:16caristuStatusscheduled => closed

Notes
(0134915)
caristu   
2022-02-11 09:16   
Fixed with 0048366