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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057481
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Open APIminorhave not tried2024-12-18 11:512024-12-18 17:14
ReporteralostaleView Statuspublic 
Assigned ToTriage Platform Conn 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0057481: generated OpenAPI schema names don't validate

DescriptionSchema names of generated APIs don't comply with specifications as they contain invalid characters such as blank spaces.

All the fixed fields declared above are objects that MUST use keys that match the regular expression: ^[a-zA-Z0-9\.\-_]+$. [1]

[1] https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#components-object [^]
Steps To ReproduceValidate the swagger document for any generated API (ie. Business API Masterdata).
ERROR: many occurrences of components.schemas.Schema name XXX doesn't adhere to regular expression ^[a-zA-Z0-9\.\-_]+$
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0056376 closedfermin_gascon Retail Modules openbravo Swaggers errors 

-  Notes
(0173433)
hgbot (developer)
2024-12-18 11:57

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/408 [^]
(0173456)
hgbot (developer)
2024-12-18 17:14

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: e0860f6017b6612e4a09f7890dce46f9267f6430
Author: Asier Lostalé <a.lostale@orisha.com>
Date: 18-12-2024 16:14:36
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/e0860f6017b6612e4a09f7890dce46f9267f6430 [^]

fixes BUG-57481: generated OpenAPI schema names don't validate

---
M src/org/openbravo/api/openapi/OpenApiEntityMapping.java
---
(0173457)
hgbot (developer)
2024-12-18 17:14

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/408 [^]

- Issue History
Date Modified Username Field Change
2024-12-18 11:51 alostale New Issue
2024-12-18 11:51 alostale Assigned To => Triage Platform Conn
2024-12-18 11:51 alostale Relationship added related to 0056376
2024-12-18 11:57 hgbot Note Added: 0173433
2024-12-18 17:14 hgbot Resolution open => fixed
2024-12-18 17:14 hgbot Status new => closed
2024-12-18 17:14 hgbot Note Added: 0173456
2024-12-18 17:14 hgbot Note Added: 0173457


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker