Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Source returns status code 201 instead of 200 #2

Open
fabianriewe opened this issue Feb 1, 2024 · 0 comments
Open

Create Source returns status code 201 instead of 200 #2

fabianriewe opened this issue Feb 1, 2024 · 0 comments

Comments

@fabianriewe
Copy link

I am running on the latest package version, in the api_client.py, line 229, the code is looking up a type mapping based on a status code. As it can not resolve it, it falls back to None, overwriting the actual response. A hotfix is to change line 348 in sources_api.py to: '201': "CreateSource..."

As the code is auto-generated, I assume that the underlying API documentation needs to be updated. I have attached screenshots for reference.

Bildschirmfoto 2024-02-01 um 08 54 29 Bildschirmfoto 2024-02-01 um 08 56 26 Bildschirmfoto 2024-02-01 um 08 56 17 Bildschirmfoto 2024-02-01 um 09 11 55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant