Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0057481 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] Open API | minor | have not tried | 2024-12-18 11:51 | 2024-12-18 17:14 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | Triage Platform Conn | |||||||
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 | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | ||||||||
Regression introduced in release | ||||||||
Summary | 0057481: generated OpenAPI schema names don't validate | |||||||
Description | Schema 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 Reproduce | Validate 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\.\-_]+$ | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
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 |