OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
Is your feature request related to a problem? Please describe.
If my api's response does not match the schema described in the spec file, a validation error is thrown and I am unable to view the response. I thought setting configuration.client_side_validation = False would fix this issue, but it does not.
Describe the solution you'd like
I would like set a --skip_validation flag when generating the sdk, set configuration.skip_validation = False, or have configuration.validate_schema default to false. When this is set, my api response should return the entire object, including any additional fields not specified in the schema. If this isn't possible, the api response should at least return the fields specified by the schema without throwing a validation error.
Is your feature request related to a problem? Please describe.
If my api's response does not match the schema described in the spec file, a validation error is thrown and I am unable to view the response. I thought setting
configuration.client_side_validation = False
would fix this issue, but it does not.Describe the solution you'd like
I would like set a --skip_validation flag when generating the sdk, set
configuration.skip_validation = False
, or have configuration.validate_schema default to false. When this is set, my api response should return the entire object, including any additional fields not specified in the schema. If this isn't possible, the api response should at least return the fields specified by the schema without throwing a validation error.