swagger-api/swagger-codegen

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

Open

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

在 GitHub 查看
 (7 评论) (0 反应) (0 负责人)HTML (5,474 fork)batch import
Client: JavaEnhancement: Featurehelp wanted

仓库指标

Star
 (12,701 star)
PR 合并指标
 (30 天内没有已合并 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

贡献者指南