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

Releases: openapi-json-schema-tools/openapi-json-schema-generator

2.0.1

03 May 21:08
58dfade
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.0.0...2.0.1

2.0.0

25 Apr 23:49
39cd61b
Compare
Choose a tag to compare

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

1.0.4

25 Apr 23:49
83da057
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.0.3...1.0.4

1.0.3

25 Apr 23:49
fda0c7a
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.0.2...1.0.3

1.0.2

25 Apr 23:49
1702e76
Compare
Choose a tag to compare

What's Changed

  • Fixes issue 39 skip deserialization true overload by @spacether in #40
  • Fixes issue 43, fixes class type hint for required prop that is not in properties by @spacether in #44
  • Fixes application/x-www-form-urlencoded encoding, issue 45 by @spacether in #48

Full Changelog: 1.0.1...1.0.2

1.0.1

25 Apr 23:48
5b44d6b
Compare
Choose a tag to compare

What's Changed

  • Endpoint type hint for body uses content_type by @spacether in #25
  • Readme: added project history by @spacether in #31
  • Readme: added reasons to use python generator @spacether in #32
  • Fixes query param content type json serialization by @spacether in #33
  • Fixes requirements.txt, applies default headers before header params by @spacether in #37

One can use this release in docker with docker pull openapijsonschematools/openapi-json-schema-generator-cli:1.0.1

Full Changelog: 1.0.0...1.0.1

1.0.0

25 Apr 23:48
13924ef
Compare
Choose a tag to compare

What's Changed

  • Version fixed in cli, maven and gradle modules removed by @spacether in #18
  • Feature: overload endpoint by @EltonChou in #7
  • Fixes master CI tests by @spacether in #22
  • Improves endpoint response type hints, handles all error responses corner case by @spacether in #20

One can use this release in docker with docker pull openapijsonschematools/openapi-json-schema-generator-cli:1.0.0

Contributors

Full Changelog: 0.9.9...1.0.0

0.9.9

25 Apr 23:48
Compare
Choose a tag to compare

What's Changed

  • Adds readme update, points to correct circle by @spacether in #9
  • Updates dockerfile by @spacether in #10
  • Fixes entrypoint file by @spacether in #16
  • Removes other generator docs by @spacether in #17
  • Generator generating reserved word ("from") 5e71b63
  • Attribute error when using auth header 13e0d67 @totothekiller
  • generator ignores global-property settings aec7e6b
  • python client fails to properly deserialize using discriminator (use nonCompliantUseDiscriminatorIfCompositionFails) 1623589
  • Regex patterns without trailing slashes break Python client generation 27cbe43
  • Fix sample code in readme 94745a3 @EltonChou

New Contributors

One can use this release in docker with docker pull openapijsonschematools/openapi-json-schema-generator-cli:0.9.9

Full Changelog: https://github.com/openapi-json-schema-tools/openapi-json-schema-generator/commits/0.9.9