[pdm-devel] applied: [PATCH proxmox] pve-api-types: schema2rust: don't mark URL parameters as optional

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Dec 1 04:29:05 CET 2025


On Fri, 28 Nov 2025 09:07:33 +0100, Hannes Laimer wrote:
> When a URL path parameter (e.g. .../rules/{pos}) shares a name with a schema
> field that is marked as optional, the generator incorrectly wrapped the
> path parameter in `Option<T>`.
> 
> Remove the logic that applies the schema's optionality to URL parameters,
> ensuring they are always generated as required types.
> 
> [...]

Applied, thanks!

[1/1] pve-api-types: schema2rust: don't mark URL parameters as optional
      commit: 2f33df3aa4c8f2d18af21d6ad9b5ad42ac456a3c




More information about the pdm-devel mailing list