Skip to content

Create Source returns status code 201 instead of 200 #2

Description

@fabianriewe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions