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

Support other number types #259

Merged
merged 3 commits into from
Dec 28, 2020
Merged

Support other number types #259

merged 3 commits into from
Dec 28, 2020

Conversation

yonaskolb
Copy link
Owner

@yonaskolb yonaskolb commented Dec 28, 2020

This resolves #184 in 3 different ways:

  • adds a decimal number format, though this isn't officially part of the open-api spec, which defaults to Decimal
  • adds a numberType template option which overrides Double for numbers that don't have a format
  • added a doubleType, floatType and decimalType template options that override Double, Float, and Decimal as the respective default types for those number formats

@yonaskolb yonaskolb merged commit 0674fca into master Dec 28, 2020
@yonaskolb yonaskolb deleted the decimal branch December 28, 2020 00:54
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.

Property type Decimal instead of Double
1 participant