Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056613
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2024-10-02 09:342024-10-21 12:09
ReporteradrianromeroView Statuspublic 
Assigned Toadrianromero 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056613: Swagger spec definition fixes in org.openbravo.api

DescriptionThere are several Swagger (OpenAPI) spec fixes that needs to be reviewed:

* Authentication schemes in manual files org.openbravo.api-Reprintable Report.yml and org.openbravo.api-Status Service.yml. Properly define the spec of the two different authentication schemes: Basic authentication and Bearer (oauth2) authentication

* Authentication schemes in generated files. Review the authentication schemes description for oauth2. What to define? oauth2 or bearerToken

* Fix warnings for unreferenced entities "ProductAUM (Import)" and "TaxRate (Import)"

* 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

* Define strategy for fixing swagger validation issues in other API modules owned by other teams

Steps To ReproduceRun swagger validation 3.1.0 version for generated and manual spec files
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0056844 closedander_flores More Swagger spec definition fixes in org.openbravo.api 

-  Notes
(0170376)
hgbot (developer)
2024-10-14 16:51

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.openapi/-/merge_requests/17 [^]
(0170378)
hgbot (developer)
2024-10-14 16:55

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/346 [^]
(0170654)
hgbot (developer)
2024-10-21 09:53

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: b92b655c2b27453ccf32b76fd6ee1ce8a53f0bfe
Author: Adrián Romero Corchado <5269822-adrian.romero@users.noreply.gitlab.com>
Date: 21-10-2024 07:53:02
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/b92b655c2b27453ccf32b76fd6ee1ce8a53f0bfe [^]

Fixes ISSUE-56613: Swagger spec definition fixes in org.openbravo.api

---
M api/org.openbravo.api-Reprintable Report.yml
M api/org.openbravo.api-Status Service.yml
M src/org/openbravo/api/openapi/CategoryOpenAPIGenerator.java
M src/org/openbravo/api/openapi/OpenApiEntityMapping.java
M src/org/openbravo/api/openapi/OpenApiEvent.java
---
(0170655)
hgbot (developer)
2024-10-21 09:53

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/346 [^]
(0170656)
hgbot (developer)
2024-10-21 09:53

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.openapi [^]
Changeset: fd0ac9a9b424be0fb750158412cce8cbce804aab
Author: Adrián Romero Corchado <5269822-adrian.romero@users.noreply.gitlab.com>
Date: 21-10-2024 07:53:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.openapi/-/commit/fd0ac9a9b424be0fb750158412cce8cbce804aab [^]

related to ISSUE-56613: Swagger spec definition fixes in org.openbravo.api

  Improves generation of the authentication schemas section with a new template parameter

---
M src/org/openbravo/service/openapi/provider/OpenAPIProcessor.java
---
(0170657)
hgbot (developer)
2024-10-21 09:53

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.openapi/-/merge_requests/17 [^]

- Issue History
Date Modified Username Field Change
2024-10-02 09:34 adrianromero New Issue
2024-10-02 09:34 adrianromero Assigned To => Triage Platform Conn
2024-10-02 09:34 adrianromero Triggers an Emergency Pack => No
2024-10-02 11:54 adrianromero Status new => acknowledged
2024-10-02 12:00 martinsdan Issue Monitored: martinsdan
2024-10-10 09:17 adrianromero Description Updated View Revisions
2024-10-10 09:30 adrianromero Description Updated View Revisions
2024-10-10 09:33 adrianromero Description Updated View Revisions
2024-10-14 12:44 adrianromero Status acknowledged => scheduled
2024-10-14 12:44 adrianromero Assigned To Triage Platform Conn => adrianromero
2024-10-14 16:51 hgbot Note Added: 0170376
2024-10-14 16:55 hgbot Note Added: 0170378
2024-10-21 09:53 hgbot Resolution open => fixed
2024-10-21 09:53 hgbot Status scheduled => closed
2024-10-21 09:53 hgbot Note Added: 0170654
2024-10-21 09:53 hgbot Note Added: 0170655
2024-10-21 09:53 hgbot Note Added: 0170656
2024-10-21 09:53 hgbot Note Added: 0170657
2024-10-21 12:09 adrianromero Issue cloned 0056844
2024-10-21 12:09 adrianromero Relationship added related to 0056844


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker