proxmox/proxmox-api-macro
Wolfgang Bumiller 055793c481 api-macro: support raw method parameters
Support raw parameter name identifiers (eg. `r#type`)

    #[api(
        input: {
            properties: {
                type: {
                    type: String,
                    description: "Foo",
                },
            },
        },
    )]
    fn foo(r#type: String) { code... }

The "r#type" parameter in the fn decl will match the "type"
parameter name in the input property list.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-11-10 13:53:06 +01:00
..
debian bump proxmox-api-macro version to 0.2.3 2020-11-05 12:13:05 +01:00
src api-macro: support raw method parameters 2020-11-10 13:53:06 +01:00
tests api-macro: support raw method parameters 2020-11-10 13:53:06 +01:00
Cargo.toml bump proxmox-api-macro version to 0.2.3 2020-11-05 12:13:05 +01:00