Skip to content

Conversation

forest-benchling
Copy link
Collaborator

Previously, if you had a oneOf of inlined models, each inline model was generated with the same name, causing effectively only the last model to be included (since it overwrote all the previous models).

In this PR, we give it an autogenerated name, to avoid the name clash.

The failing test is an existing bug which is fixed in #332.

@forest-benchling forest-benchling marked this pull request as draft February 10, 2021 16:29
@forest-benchling forest-benchling marked this pull request as ready for review February 10, 2021 16:34
@forest-benchling
Copy link
Collaborator Author

cc @dbanty @emann @bowenwr @packyg

@forest-benchling
Copy link
Collaborator Author

Closing, merged into #332

forest-benchling added a commit to benchling/openapi-python-client that referenced this pull request Feb 11, 2021
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.

1 participant