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

貢獻者指南