swagger-api/swagger-codegen

Add validation to parameter/property

Open

#2,663 opened on 2016年4月20日

GitHub で見る
 (11 comments) (4 reactions) (0 assignees)HTML (12,701 stars) (5,474 forks)batch import
Client: AndroidClient: C++Client: C-SharpClient: ClojureClient: DartClient: GoClient: HTMLClient: JavaClient: JavaScript/Node.jsClient: ObjcClient: PHPClient: PerlClient: PythonClient: RetrofitClient: RubyClient: ScalaClient: SwiftClient: TypeScriptEnhancement: Featurehelp wanted

説明

We want to add validation (e.g. maximum, minimum, pattern, etc) to parameters and model properties.

If anyone is interested in adding the property/parameter validation to a particular language, please reply to let us know.

  • Android
  • C++
  • C#
  • Clojure
  • Dart
  • Flash
  • Go
  • Javascript
  • Java
  • ObjC
  • Perl
  • PHP (#2778, #2733)
  • Python (#2794)
  • Ruby (#2697, #2695)
  • Swift
  • Scala
  • TypeScript

コントリビューターガイド