swagger-api/swagger-codegen

Add validation to parameter/property

Ouverte

#2 663 ouverte le 20 avr. 2016

 (11 commentaires) (4 réactions) (0 personne assignée)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 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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