swagger-api/swagger-codegen

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

Open

#6263 aperta il 8 ago 2017

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)HTML (5474 fork)batch import
Client: JavaEnhancement: Featurehelp wanted

Metriche repository

Star
 (12.701 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor