Redocly/redoc
Hiding regex expressions used for validation in Swagger and Redoc
Aberta
#668 aberto em 8 de out. de 2018
Type: Enhancementhelp wanted
Métricas do repositório
- Stars
- (21.877 estrelas)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
When we use a regex as a validator in swagger the regex shows up in our redoc documentation. We don't believe that our users will understand these random regular expressions in the documentation. Is there a way to hide the regular expression from the documentation. Or possibly define the validator as an object. I'm doubting that redoc would print an entire object to the documentation (if an object was used). A small example would be great... TY