proxmox/proxmox-api-macro/tests
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
..
api1.rs test fixups 2020-10-29 14:51:22 +01:00
api2.rs api-macro: support raw method parameters 2020-11-10 13:53:06 +01:00
ext-schema.rs api-macro: test using return schemas within return objects 2020-07-10 11:04:00 +02:00
int-limits.rs api-macro: formatting fixups 2020-07-16 14:13:14 +02:00
options.rs test fixups 2020-10-29 14:51:22 +01:00
types.rs api-macro: formatting fixups 2020-07-16 14:13:14 +02:00