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 enum alias #74

Merged
merged 1 commit into from
Oct 18, 2019
Merged

Support enum alias #74

merged 1 commit into from
Oct 18, 2019

Conversation

koxudaxi
Copy link
Owner

The PR supports alias of an enum which uses x-enum-varnames

Related URLs

https://openapi-generator.tech/docs/templating#enum

@codecov
Copy link

codecov bot commented Oct 18, 2019

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #74   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          12     12           
  Lines         653    656    +3     
  Branches      127    128    +1     
=====================================
+ Hits          653    656    +3
Impacted Files Coverage Δ
datamodel_code_generator/parser/jsonschema.py 100% <100%> (ø) ⬆️
datamodel_code_generator/parser/openapi.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 b54c3d0...4dc9f3a. Read the comment docs.

@koxudaxi koxudaxi merged commit 018e2d4 into master Oct 18, 2019
@koxudaxi koxudaxi deleted the support_enum_alias branch October 20, 2019 19:09
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.

None yet

1 participant