proxmox/proxmox-api-macro/src
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
..
api api-marcro: throw compiler error if description for enums is empty 2024-10-22 15:14:43 +02:00
lib.rs tree-wide: enable doc_cfg and doc_auto_cfg for docs 2024-07-02 11:59:53 +02:00
serde.rs section-config, api-macro: add SectionConfig enum support 2024-08-06 14:14:42 +02:00
types.rs switch from failure to anyhow 2020-04-17 18:34:21 +02:00
updater.rs add proxmox-schema and proxmox-router crates 2021-10-11 11:39:59 +02:00
util.rs fix typos in rust api documentation 2024-07-22 08:49:42 +02:00