Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local Reference Fixes 0.9.0 #15

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from
Draft

Local Reference Fixes 0.9.0 #15

wants to merge 32 commits into from

Commits on May 11, 2021

  1. Configuration menu
    Copy the full SHA
    720368c View commit details
    Browse the repository at this point in the history

Commits on May 12, 2021

  1. Configuration menu
    Copy the full SHA
    64f67fe View commit details
    Browse the repository at this point in the history
  2. fix: Deserialization of optional nullable properties when no value is…

    … returned from the API [openapi-generators#420 & openapi-generators#381]. Thanks @forest-benchling!
    
    * Handle optional nullable deserialization
    
    * Fix test
    forest-benchling authored May 12, 2021
    Configuration menu
    Copy the full SHA
    e708750 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fddf68a View commit details
    Browse the repository at this point in the history

Commits on May 13, 2021

  1. feat(parser): Allow references to non-object, non-enum types [openapi…

    …-generators#371][openapi-generators#418][openapi-generators#425]. Thanks @p1-ra!
    
    * parser / properties / do not restrict reference pointer type to `enum` or `object`
    
    * e2e / update `openapi.json` and golden-record
    
    * tpl / model / add missing typing import: `Tuple,Optional,BinaryIO,TextIO`
    
    * test: Make big ref test model properties required to lessen generated code
    
    Co-authored-by: Nementon <[email protected]>
    dbanty and Nementon authored May 13, 2021
    Configuration menu
    Copy the full SHA
    79acbf8 View commit details
    Browse the repository at this point in the history
  2. chore: Prep 0.9.1 release

    dbanty committed May 13, 2021
    Configuration menu
    Copy the full SHA
    0f58cfd View commit details
    Browse the repository at this point in the history

Commits on May 17, 2021

  1. templates / endpoint_module / form_data: do not use attr.asdict, us…

    …e <Model>.to_dict()` serializer
    
       - to handle internal UNSET values to not serialize them,
         `attr.asdict` do not know UNSET type and will serialize them
    p1-ra committed May 17, 2021
    Configuration menu
    Copy the full SHA
    588fa23 View commit details
    Browse the repository at this point in the history
  2. e2e / update golden-record

    p1-ra committed May 17, 2021
    Configuration menu
    Copy the full SHA
    1b17d1f View commit details
    Browse the repository at this point in the history

Commits on May 18, 2021

  1. templatize api,endpoint init files

    Nementon authored and p1-ra committed May 18, 2021
    Configuration menu
    Copy the full SHA
    907208e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15c7b13 View commit details
    Browse the repository at this point in the history
  3. expose utils module to jinja2

    Nementon authored and p1-ra committed May 18, 2021
    Configuration menu
    Copy the full SHA
    df9ac8a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8135d38 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0b43462 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    074b58d View commit details
    Browse the repository at this point in the history
  7. vendored openapi_schema_pydantic / correct flake8 warnings

        - correct: W293, W291, F821
    Nementon authored and p1-ra committed May 18, 2021
    Configuration menu
    Copy the full SHA
    1e0620c View commit details
    Browse the repository at this point in the history
  8. correct openapi_schema_pydantic schemas breaking changes

      - anyOf, allOf, oneOf now default to `None` instead
        of `[]`
    Nementon authored and p1-ra committed May 18, 2021
    Configuration menu
    Copy the full SHA
    d8c1a9f View commit details
    Browse the repository at this point in the history
  9. update unit tests

    p1-ra committed May 18, 2021
    Configuration menu
    Copy the full SHA
    5befdc5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    470be5f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b09ebd6 View commit details
    Browse the repository at this point in the history
  12. openapi_schema_pydantic / remove ellipsis notation

      - Mypy do not well support it to declare `undefined` value
    p1-ra committed May 18, 2021
    Configuration menu
    Copy the full SHA
    e71c4cc View commit details
    Browse the repository at this point in the history
  13. openapi_schema_pydantic / allow extra values

      - For support of OAI vendor extension
    p1-ra committed May 18, 2021
    Configuration menu
    Copy the full SHA
    2902c21 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    59b6e5e View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9371b1b View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    0d66065 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    58fa3de View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    4d67fe5 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    f4d7ff0 View commit details
    Browse the repository at this point in the history
  20. parser / properties / do not restrict reference pointer type to `enum…

    …` or `object`
    Nementon authored and p1-ra committed May 18, 2021
    Configuration menu
    Copy the full SHA
    3667232 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    f46d1e6 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    6d4416d View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    c8abe92 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2021

  1. Configuration menu
    Copy the full SHA
    c396e4e View commit details
    Browse the repository at this point in the history