Openbravo Issue Tracking System - Modules
View Issue Details
0056159ModulesOpen APIpublic2024-08-02 09:482024-09-05 12:01
caristu 
alostale 
highminorhave not tried
closedfixed 
5
 
 
0056159: Swagger online validation fails
Currently the Swagger page is doing an online validation of the OpenAPI definition of the different APIs. This validation cannot work because Swagger the validator has not access to the API definition.
1) Go to the API Swagger page: https:<openbravo_url>/api
2) Scroll to the end of the page, the invalid message appears. See attached.
Remove the validation from the page
No tags attached.
related to defect 0056160 closed fermin_gascon Fix validation errors on API definition 
png validation.png (5,333) 2024-08-02 09:48
https://issues.openbravo.com/file_download.php?file_id=20055&type=bug
png
Issue History
2024-08-02 09:48caristuNew Issue
2024-08-02 09:48caristuAssigned To => Triage Platform Conn
2024-08-02 09:48caristuFile Added: validation.png
2024-08-02 09:48caristuStatusnew => acknowledged
2024-08-02 09:51caristuIssue cloned0056160
2024-08-02 09:51caristuRelationship addedrelated to 0056160
2024-08-02 10:04caristuSummaryRemove online validation done in Swagger => Swagger online validation fails
2024-08-02 10:04caristuDescription Updatedbug_revision_view_page.php?rev_id=28312#r28312
2024-08-02 10:50alostaleAssigned ToTriage Platform Conn => alostale
2024-08-02 10:52hgbotNote Added: 0167641
2024-08-02 11:05alostaleNote Added: 0167648
2024-08-05 10:07hgbotResolutionopen => fixed
2024-08-05 10:07hgbotStatusacknowledged => closed
2024-08-05 10:07hgbotNote Added: 0167696
2024-08-05 10:07hgbotNote Added: 0167697
2024-09-05 12:01adrianromeroIssue Monitored: adrianromero

Notes
(0167641)
hgbot   
2024-08-02 10:52   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.openapi/-/merge_requests/13 [^]
(0167648)
alostale   
2024-08-02 11:05   
Test plan: following steps to reproduce, check there is not any validation badge.
(0167696)
hgbot   
2024-08-05 10:07   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.openapi [^]
Changeset: b19ea7cbc0b18d236dac6a5e96ed7c5fc6bf0e88
Author: Asier Lostalé <a.lostale@orisha.com>
Date: 05-08-2024 08:07:37
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.openapi/-/commit/b19ea7cbc0b18d236dac6a5e96ed7c5fc6bf0e88 [^]

fixes BUG-56159: Swagger online validation fails

---
M src/org/openbravo/service/openapi/template/index.html.ftl
---
(0167697)
hgbot   
2024-08-05 10:07   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.openapi/-/merge_requests/13 [^]