OpenAPITools/openapi-generator

Option to disable validation in the API clients

Open

#4,168 创建于 2019年10月16日

在 GitHub 查看
 (4 评论) (4 反应) (0 负责人)Java (7,516 fork)batch import
Enhancement: FeatureHacktoberfesthelp wanted

仓库指标

Star
 (26,243 star)
PR 合并指标
 (平均合并 9天 1小时) (30 天内合并 123 个 PR)

描述

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

To start with, we've added this feature to the Ruby API client.

Suggest a Fix

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

贡献者指南