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

[FIX] anyOf to allOf #1

Merged
merged 7 commits into from
Jul 14, 2021
Merged

[FIX] anyOf to allOf #1

merged 7 commits into from
Jul 14, 2021

Conversation

jdkent
Copy link
Member

@jdkent jdkent commented Jul 14, 2021

switching anyOf to allOf to fix typescript errors when generating code.
ref neurostuff/neurostore#41 and neurostuff/neurostore#60

Comment on lines -136 to +138
oneOf:
- properties: {}
nullable: true
- $ref: '#/components/schemas/study'
$ref: '#/components/schemas/study'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep an eye on this to see if we can represent a nullable reference and generate a typescript library.

@jdkent jdkent merged commit 13c18f2 into main Jul 14, 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