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

Change numeric constraints to correct mapping #94

Merged
merged 1 commit into from
Feb 26, 2020
Merged

Change numeric constraints to correct mapping #94

merged 1 commit into from
Feb 26, 2020

Conversation

surajbarkale
Copy link
Contributor

This change aligns mapping from json schema to pydantic Field arguments.
See https://pydantic-docs.helpmanual.io/usage/schema/#field-customisation

This change aligns mapping from json schema to pydantic Field arguments.
See:
https://pydantic-docs.helpmanual.io/usage/schema/#field-customisation
@codecov
Copy link

codecov bot commented Feb 26, 2020

Codecov Report

Merging #94 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #94   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          12     12           
  Lines         778    757   -21     
  Branches      152    140   -12     
=====================================
- Hits          778    757   -21
Impacted Files Coverage Δ
datamodel_code_generator/model/pydantic/types.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e596b40...0268781. Read the comment docs.

@koxudaxi koxudaxi merged commit 6ad7592 into koxudaxi:master Feb 26, 2020
@koxudaxi
Copy link
Owner

@surajbarkale
I checked your code and the document. It's great.
I have released a new version as 0.3.3.

Thank you very much.

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.

2 participants