feat: pydantic fields for jsonschema output in Project
Metadata
Current evaluation
Merged after approval and CI. Added pydantic.Field descriptions and examples to the Project model for JSON schema output. Reviewer requested remaining examples, acknowledged. Updated 1 file with 435 additions and 83 deletions.
Suggested action: —
No scores available.
Issue body
Add pydantic.Field description and examples to the Project model for Snapcraft.
- [ ] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `tox run -m lint`?
- [ ] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`)
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval and CI. Added pydantic.Field descriptions and examples to the Project model for JSON schema output. Reviewer requested remaining examples, acknowledged. Updated 1 file with 435 additions and 83 deletions. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged after reviewer requested adding remaining examples. The change adds pydantic.Field descriptions and examples to the Project model, improving JSON schema output for Snapcraft. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged after adding pydantic.Field descriptions and examples to the Project model for Snapcraft JSON schema output. Review requested remaining examples, which were incorporated prior to final merge. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #776 feat: add pydantic models for all sources | craft-parts | merged | Merged to add Pydantic models for all sources, enabling JSON schema generation for parts. Approved by two reviewers, depends on #775, and updates 16 files with a net reduction of 103 lines. |