I generated a python client for the swagger petstore https://petstore.swagger.io/ using the openapi-generator-cli (6.5.0).
Trying to understand the documentation is a degree in itself but there’s room to interpret it as ïf a successful client.get_pet_by_id(path_params=query_params) call ought to return an ApiResponseFor200 which contains a body property of type SchemaFor200ReponseBodyApplicationJson/Xml which in turn should contain the type of Pet.
But when I call it the body property only contains a DynamicSchema object. I.e. for some reason the client isn’t parsing the response into a typed object of the correct kind.
Anyone have experience with this? Any help is appreciated.