swagger-api/swagger-codegen

Option to disable validation in the API clients

Open

#5.530 geöffnet am 2. Mai 2017

Auf GitHub ansehen
 (7 Kommentare) (1 Reaktion) (0 zugewiesene Personen)HTML (5.474 Forks)batch import
Enhancement: FeatureFeature List: API clientshelp wanted

Repository-Metriken

Stars
 (12.701 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Description

Currently, there's no way to disable validation in the API clients and therefore we cannot use the API clients to perform integration tests with the RESTful backend (e.g. the API client cannot send requests with incorrect values as the client validation rule will fail the operation)

We'll introduce an option (e.g. client_side_validation in the configuration object)

Swagger-codegen version

Latest master

Swagger declaration file content or url
Related issues

https://github.com/swagger-api/swagger-codegen/pull/5528 has been submitted for Ruby API client.

Suggest a Fix

If anyone wants to work on the enhancement, please reply to let us know.

Contributor Guide