swagger-api/swagger-codegen

[JAVA] - Consider regex for path params (subresource operation)

Open

#6.263 aberto em 8 de ago. de 2017

Ver no GitHub
 (7 comments) (0 reactions) (0 assignees)HTML (5.474 forks)batch import
Client: JavaEnhancement: Featurehelp wanted

Métricas do repositório

Stars
 (12.701 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Description

I'm trying to generate resource endpoints which contain some sort of regex to validate the path params. Fox example: @Path(/resource/{res:[a-zA-z]})

Couldn't find a way to produce that kind of souce code. Does anyone know if this feature is already implemented?

Swagger-codegen version

2.2.2

Guia do colaborador