swagger-api/swagger-codegen

Add validation to parameter/property

Open

#2 663 ouverte le 20 avr. 2016

Voir sur GitHub
 (11 commentaires) (4 réactions) (0 assignés)HTML (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

Métriques du dépôt

Stars
 (12 701 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur