You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
When generating code with the Spring generator using OpenAPI Generator (7.13.0), the x-pattern-message extension works correctly for single strings, but does not work for list items.
Bug Report Checklist
Description
When generating code with the Spring generator using OpenAPI Generator (7.13.0), the x-pattern-message extension works correctly for single strings, but does not work for list items.
openapi-generator version
7.13.0
OpenAPI declaration file content or url
Generation Details
api-config.json
:Steps to reproduce
The generated model class should assign the custom message for both patternString and each item in patternList.
Actual Behavior:
Related issues/PRs
Suggest a fix
It would be ideal if the generated annotation for list items was like:
instead of omitting the message part.
The text was updated successfully, but these errors were encountered: