redoc icon indicating copy to clipboard operation
redoc copied to clipboard

No padding between type and regex pattern

Open FedorLap2006 opened this issue 5 years ago • 2 comments

I tried to use regex patterns for endpoints definitions... and something went wrong. Regex patterns is showed normally, but... when body - between regex and type name is no padding at all (don't worry, when custom type is presented - everything is fine). Btw, I'm on OpenAPI v2 Swagger and 0.10.2 redoc cli version. So... if it's necessary I will provide some screenshots.

FedorLap2006 avatar Dec 11 '20 19:12 FedorLap2006

+1 we're seeing this issue specifically for a param with a regex of:

\d+

Screen Shot 2021-08-24 at 10 31 22 AM

suihanki avatar Aug 24 '21 18:08 suihanki

+1 we're seeing this issue specifically for a param with a regex of:

\d+

Screen Shot 2021-08-24 at 10 31 22 AM

I'm facing exactly the same problem for params with regex

rodrigoestevao avatar Jan 10 '22 20:01 rodrigoestevao