mirror of
https://github.com/KohakuBlueleaf/KohakuHub.git
synced 2026-05-05 20:07:37 -05:00
[PR #9] [MERGED] chore(json-schema-generator): generate_json_schema.py script helpful for generating schemas for pydantic models
#11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/KohakuBlueleaf/KohakuHub/pull/9
Author: @zdunecki
Created: 1/30/2026
Status: ✅ Merged
Merged: 2/12/2026
Merged by: @KohakuBlueleaf
Base:
main← Head:chore/json-schema-generator📝 Commits (2)
5071de2chore(json-schema-generator): generate_json_schema.py script helpful for generating schemas for pydantic models8d340a5chore(json-schema-generator): added generated to .gitignor📊 Changes
3 files changed (+46 additions, -0 deletions)
View changed files
📝
.gitignore(+1 -0)📝
scripts/README.md(+15 -0)➕
scripts/generate_json_schema.py(+30 -0)📄 Description
Pull Request
What changed?
A script to generate pydantic models to json schema at
__generated__/schemas/<model>.json.Why?
Useful for automation and KohakuHub adoption. For example schema could help create terraform deployment more easily.
Testing
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.