Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

2.0.0

Compare
Choose a tag to compare
@spacether spacether released this 25 Apr 23:49
· 220 commits to master since this release
39cd61b

What's Changed

Improvements

  • one documentation file generated for each endpoint
  • ranged responses added 2XX 3XX etc
  • deserialization of redirection responses added 300-399 http status codes
  • code is reused more, python classes are generated and imported for #/components/x
    • headers
    • parameters
    • request_bodies
    • responses
    • schemas
    • security_schemes
  • package structure has been modernized to use src/the_package and pyproject.toml installation
  • configuration info has been refactored to separate concerns and to allow more robust configuration of server and security info
  • Java classes that store openapi document info have been refactored, making them shorter and easier to maintain
  • Python methods and class names updated
    • is_true_oapg -> is_true_
    • is_false_oapg -> is_false_
    • is_none_oapg -> is_none_
    • as_date_oapg -> as_date_
    • as_datetime_oapg -> as_datetime_
    • as_decimal_oapg -> as_decimal_
    • as_uuid_oapg -> as_uuid_
    • as_float_oapg -> as_float_
    • as_int_oapg -> as_int_
    • get_item_oapg -> get_item_
    • from_openapi_data_oapg -> from_openapi_data_
    • from_openapi_data_oapg -> from_openapi_data_
    • _verify_typed_dict_inputs_oapg -> _verify_typed_dict_inputs
    • _configuration -> configuration_
    • _arg -> arg_
    • _args -> args_
    • MetaOapg -> Schema_
    • JsonSchema -> OpenApiSchema

To read more about the details of those changes, and why they were done, read the
2.0.0 Migration guide:

Full Changelog: 1.0.4...2.0.0