swagger-api/swagger-codegen

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

开放

#6,263 创建于 2017年8月8日

 (7 条评论) (0 个反应) (0 位负责人)HTML (5,474 个派生)batch import
Client: JavaEnhancement: Featurehelp wanted

仓库指标

星标
 (12,701 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南