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":"^\.".
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":"^\."
.