Skip to content

Releases: openapi-generators/openapi-python-client

0.3.0

25 Apr 22:01
Compare
Choose a tag to compare

Additions

  • Link to the GitHub repository from PyPI (#26). Thanks @theY4Kman!
  • Support for date properties (#30, #37). Thanks @acgray!
  • Allow naming schemas by property name and Enums by title (#21, #31, #38). Thanks @acgray!

Fixes

  • Fixed some typing issues in generated clients and incorporate mypy into end to end tests (#32). Thanks @acgray!
  • Properly handle camelCase endpoint names and properties (#29, #36). Thanks @acgray!

0.2.1

22 Mar 19:23
Compare
Choose a tag to compare

Fixes

  • Fixed import of errors.py in generated api modules

Additions

  • Support for lists of Enums
  • Add config for black to generated pyproject.toml

0.2.0

22 Mar 16:53
Compare
Choose a tag to compare

Changes

  • Update Typer dependency to 0.1.0 and remove click-completion dependency (#19)
  • Switched to httpx from requests for both this tool and generated clients (#15)

Additions

  • --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)
  • Generated clients will now have some basic Poetry usage in their README.md (#13)
  • Generated clients will now have an async_api module for async versions of every function in the api module (#16)
  • Generated clients will be auto-formatted with isort and black (#12)
  • Generated clients will have a .gitignore covering some basics (#14)
  • A number of additions to the README including recommending pipx (#20)

0.1.2

16 Mar 15:05
Compare
Choose a tag to compare
  • Improve handling of optional properties in generated to_dict function for models
  • Add PEP 561 marker file (py.typed) to generated packages (#18)

0.1.1

06 Mar 19:11
Compare
Choose a tag to compare
  • Fix mypy issue in generated models from_dict with datetime or reference properties
  • Generated clients now raise an ApiResponseError if they receive a response that was not declared
  • Stop including optional query parameters when value is set to None
  • Added an update command to update a previously generated client
  • Added click-completion for installable tab completion in most shells

0.1.0

28 Feb 21:29
Compare
Choose a tag to compare

Initial release!