Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0056613 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Retail Modules] Web POS | major | have not tried | 2024-10-02 09:34 | 2024-10-21 12:09 | |||
| Reporter | adrianromero | View Status | public | |||||
| Assigned To | adrianromero | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | |||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | approved | |||||||
| Review Assigned To | ||||||||
| OBNetwork customer | OBPS | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0056613: Swagger spec definition fixes in org.openbravo.api | |||||||
| Description | There 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 Reproduce | Run swagger validation 3.1.0 version for generated and manual spec files | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
|  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] | ||||||||
| 
 | ||||||||
|  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 | OBNetwork customer | => OBPS | 
| 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 | Merge Request Status | => open | 
| 2024-10-14 16:51 | hgbot | Note Added: 0170376 | |
| 2024-10-14 16:55 | hgbot | Note Added: 0170378 | |
| 2024-10-21 09:52 | hgbot | Merge Request Status | open => approved | 
| 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 |