ms32035 / firefly-iii-client

Python client for Firefly III API. Please read .generator/Readme.md
19 stars 8 forks source link

api_response = api_instance.list_account() returns error "ValueError: Invalid value for `liability_type` (Mortgage), must be one of ['loan', 'debt', 'mortgage']" #8

Closed zhuqf closed 3 years ago

zhuqf commented 3 years ago

can not find a way to turn off self.local_vars_configuration.client_side_validation without change the source code

ms32035 commented 3 years ago

And you shouldn't. If the domain values are wrong, please submit a PR to the original apidocs repo. Otherwise, you can regenerate the package yourself, with a locally modified specification. See the following:

The Pypi package follows API version, so I can't republish 1.4.0