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

Conversation

@p1-ra p1-ra self-assigned this May 11, 2021
@p1-ra p1-ra force-pushed the main-with-fixes branch from c870943 to a751609 Compare May 12, 2021 09:42
forest-benchling and others added 4 commits May 12, 2021 08:38
… returned from the API [openapi-generators#420 & openapi-generators#381]. Thanks @forest-benchling!

* Handle optional nullable deserialization

* Fix test
…-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]>
@p1-ra p1-ra force-pushed the main-with-fixes branch 2 times, most recently from 44183cd to d9c73e2 Compare May 14, 2021 12:10
p1-ra and others added 20 commits May 17, 2021 17:04
…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
  - anyOf, allOf, oneOf now default to `None` instead
    of `[]`
  - Mypy do not well support it to declare `undefined` value
  - For support of OAI vendor extension
@p1-ra p1-ra force-pushed the main-with-fixes branch from d9c73e2 to 6d4416d Compare May 18, 2021 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants