Skip to content

remove bad indent space generate with jinja comments [BUGFIX] - #579

Merged
dbanty merged 2 commits into
openapi-generators:mainfrom
lsaavedr:fix_jinja_templates
Jan 29, 2022
Merged

dbanty merged 2 commits into
openapi-generators:mainfrom
lsaavedr:fix_jinja_templates

Conversation

@lsaavedr

Copy link
Copy Markdown
Contributor

without this fix generate fail in black check!

@lsaavedr lsaavedr changed the title remove bad indent space generate with jinja comments remove bad indent space generate with jinja comments [BUGFIX] Jan 27, 2022
@codecov

codecov Bot commented Jan 29, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #579 (7cf6327) into main (3152663) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #579   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           49        49           
  Lines         1713      1713           
=========================================
  Hits          1713      1713           

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 3152663...7cf6327. Read the comment docs.

@dbanty

dbanty commented Jan 29, 2022

Copy link
Copy Markdown
Collaborator

I agree that that space shouldn't be there, but it's odd that none of the e2e/integration tests caught the problem. Do we not have any date or datetime properties in a multipart/form test? 🧐

@dbanty dbanty added this to the 0.11.1 milestone Jan 29, 2022
@dbanty

dbanty commented Jan 29, 2022

Copy link
Copy Markdown
Collaborator

Wow, we sure don't! Optional dates/datetimes also don't typecheck in multipart/form. Gonna fix that in a quick follow-up. Thanks!

@dbanty
dbanty merged commit 1508294 into openapi-generators:main Jan 29, 2022
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