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

貢獻者指南