proxmox/proxmox-api-macro
Thomas Lamprecht ba3ee7a4db api-marcro: throw compiler error if description for enums is empty
A description is required for the API schema types and we fallback to
the rust doc-comment when no explicit one is set.
But a empty string was returned if no doc-comment existed, so check
for the comment to be non-empty and throw a compile-time error
otherwise.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-10-22 15:14:43 +02:00
..
debian api-macro: bump d/control 2024-09-26 14:56:56 +02:00
src api-marcro: throw compiler error if description for enums is empty 2024-10-22 15:14:43 +02:00
tests api-macro: allow declaring an additional-properties field 2024-09-26 12:47:58 +02:00
Cargo.toml api-macro: bump to 1.2.1-1 2024-09-26 14:52:52 +02:00