swagger-api/swagger-codegen

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

Aperta

#6263 aperta il 8 ago 2017

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

Metriche repository

Star
 (12.701 stelle)
Metriche merge PR
 (Metriche PR in attesa)

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