swagger-api/swagger-codegen

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

Open

#6 263 ouverte le 8 août 2017

Voir sur GitHub
 (7 commentaires) (0 réactions) (0 assignés)HTML (5 474 forks)batch import
Client: JavaEnhancement: Featurehelp wanted

Métriques du dépôt

Stars
 (12 701 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur