Generate modern Python clients from OpenAPI
MIT License
Bot releases are visible (Hide)
Published by dbanty about 4 years ago
RefProperty
that doesn't refer to an enum.integer
type property, and the function for an endpoint using it would fail to generate and be skipped).Published by dbanty about 4 years ago
project_name_override
and package_name_override
config options to override the name of the generated project/package (#123)Published by dbanty about 4 years ago
Published by dbanty about 4 years ago
Published by dbanty over 4 years ago
Published by dbanty over 4 years ago
Published by dbanty over 4 years ago
Enum
class declared would be called "Statuses". Now it will be called "StatusesItem". If a "title" attribute was used in the OpenAPI document, that should still be respected and used instead of the generated name. You can restore previous names by adding "StatusesItem" to the class_overrides
section of a config file.MyEnum
, one of them will now be named MyEnum1
. Note that the order in which these are processed and therefore named is entirely dependent on the order they are read from the OpenAPI document, so changes to the document could result in swapping the names of conflicting Enums.Dict
or List
properties will now be properly declared as a field
with the default_factory
parameter to prevent errors related to mutable defaults.Published by dbanty over 4 years ago
Published by dbanty over 4 years ago
Published by dbanty over 4 years ago
--version
option to print the version of openapi-python-client and exit--config
option for passing a config.yml file to override generated class names (#9)Published by dbanty over 4 years ago
to_dict
function for modelsPublished by dbanty over 4 years ago
from_dict
with datetime or reference propertiesApiResponseError
if they receive a response that was not declaredupdate
command to update a previously generated clientPublished by dbanty over 4 years ago
Initial release!