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

View Revisions: Issue #56844 All Revisions ] Back to Issue ]
Summary 0056844: More Swagger spec definition fixes in org.openbravo.api
Revision 2024-10-21 12:16 by adrianromero
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
Revision 2024-10-21 12:15 by adrianromero
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" See attached screenshot. The solution should be just remove this mapping with the confirmation of the Retail team who is the owner of this enti

* 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
Revision 2024-10-21 12:09 by adrianromero
Description There are several Swagger (OpenAPI) spec fixes that needs to be reviewed:

* 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



Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker