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
Describe the bug
Currently, when OpenAPI schema is generated, any regular expressions are filtered out from URL pattern to make URL pattern compatible with OpenAPI.
To Reproduce
r.Get("/{token:^\\.}", usecase.ShortURL(deps))
Expected behavior
Such endpoint should produce token parameter with "pattern":"^\.".
The text was updated successfully, but these errors were encountered:
Describe the bug
Currently, when OpenAPI schema is generated, any regular expressions are filtered out from URL pattern to make URL pattern compatible with OpenAPI.
To Reproduce
Expected behavior
Such endpoint should produce
token
parameter with"pattern":"^\."
.The text was updated successfully, but these errors were encountered: