chore: improves documentation and readme #65
Reference in New Issue
Block a user
Delete Branch "chore/improves-readme"
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?
This pull request updates documentation to clarify the two APIs for building models with
SchemaConverter, highlights the new instance API and its reference cache, and adds usage examples and warnings about potential schema/type name collisions. The changes help users understand when to use each API and how to avoid cache-related issues.Documentation improvements for usage and cache control
README.mdof the two APIs (buildandbuild_with_cache) for generating Pydantic models, including guidance on reference cache management and when to use each API.README.md, demonstrating how to build models, access cached references, and clear the cache.docs/source/usage.rstand expanded guidance indocs/source/usage.ref_cache.rstabout possible schema and type name collisions when using the instance API and reference cache, recommending separateSchemaConverterinstances per namespace or schema source. [1] [2]Minor documentation and formatting updates
README.md.README.mdanddocs/source/usage.rst. [1] [2]Codecov Report
✅ All modified and coverable lines are covered by tests.
📢 Thoughts on this report? Let us know!