feat: support customizing the docs renderer config#1024
Conversation
|
Hey @johnletey! This is a cool contribution, thank you :) I want to consider whether this may be usable by the other renderers too before considering merging. I'm a little limited on time right now, so if you happen to want to help with this, it'd be greatly appreciated! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1024 +/- ##
==========================================
+ Coverage 92.98% 93.07% +0.09%
==========================================
Files 23 23
Lines 4858 4883 +25
==========================================
+ Hits 4517 4545 +28
+ Misses 276 274 -2
+ Partials 65 64 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
1200bb2 to
aaa0c2e
Compare
|
Thanks @wolveix! Looked at both. SwaggerUI was a good fit, so I've added it. Its config is just the Stoplight Elements doesn't fit the same shape though. It's configured via attributes on |
|
Awesome stuff, thank you so much @johnletey! Would you mind also adding/reworking the docs to demonstrate how these can be configured, please? I think all three docs examples can be simplified to utilize the here: https://github.com/johnletey/huma/blob/feat/scalar-docs-config/docs/docs/features/api-docs.md |
|
@wolveix Is that what you had in mind? |
|
Awesome stuff, thanks so much @johnletey! |
No description provided.