-
-
Notifications
You must be signed in to change notification settings - Fork 301
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
Add support for custom templates and extra template data #71
Conversation
Codecov Report
@@ Coverage Diff @@
## master #71 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 12 12
Lines 625 644 +19
Branches 121 124 +3
=====================================
+ Hits 625 644 +19
Continue to review full report at Codecov.
|
- point to a directory containing template overrides (`BaseModel.jinja2`, etc) - add custom data to templates for rendering from JSON file to support incorporating data that exists outside of openapi spec
7bfbb6f
to
aa9997f
Compare
I feel good. |
Thank you very much. |
Awesome - thank you again for accepting
|
No problem :)
Will it be opened? (it's interesting) I want to develop a code generator for a server of fastapi and client. |
yes, I hope so :) it's for an internal project at the moment (and as such is a little idiosyncratic, hence the desire to be able to modify templates a little, and inject some extra data) but as things settle down, I'll try to roll more of my steps back into the generator :) |
If I will develop a code generator(maybe for server, client) then, I will ping you. because we should save the resource to develop :) |
(
BaseModel.jinja2
, etc)incorporating data that exists outside of openapi spec