[][src]Macro opg::describe_api

macro_rules! describe_api {
    ($($property:ident: {$($property_value:tt)*}),*$(,)?) => { ... };
    (@opg_property $result:ident info $($property:ident: $property_value:literal),*$(,)?) => { ... };
    (@opg_info_property title $value:literal) => { ... };
    (@opg_info_property version $value:literal) => { ... };
    (@opg_info_property description $value:literal) => { ... };
    (@opg_property $result:ident tags $($tag:ident$(($description:literal))?),*$(,)?) => { ... };
    (@opg_property $result:ident servers $($url:literal$(($description:literal))?),*$(,)?) => { ... };
    (@opg_property $result:ident security_schemes $($schemes:tt)*) => { ... };
    (@opg_security_scheme $result:ident $scheme:ident, $($other:tt)*) => { ... };
    (@opg_security_scheme $result:ident (http $name:literal): {$($properties:tt)+}, $($other:tt)*) => { ... };
    (@opg_security_scheme $result:ident (apiKey $name:literal): {$($properties:tt)+}, $($other:tt)*) => { ... };
    (@opg_security_scheme $result:ident $(,)?) => { ... };
    (@opg_security_scheme_http $scheme:ident $bearer_format:ident $description:ident scheme: $value:ident, $($other:tt)*) => { ... };
    (@opg_security_scheme_http $scheme:ident $bearer_format:ident $description:ident bearer_format: $value:literal, $($other:tt)*) => { ... };
    (@opg_security_scheme_http $scheme:ident $bearer_format:ident $description:ident description: $value:literal, $($other:tt)*) => { ... };
    (@opg_security_scheme_http $scheme:ident $bearer_format:ident $description:ident $(,)?) => { ... };
    (@opg_security_scheme_api_key $parameter_in:ident $name:ident $description:ident parameter_in: $value:ident, $($other:tt)*) => { ... };
    (@opg_security_scheme_api_key $parameter_in:ident $name:ident $description:ident name: $value:literal, $($other:tt)*) => { ... };
    (@opg_security_scheme_api_key $parameter_in:ident $name:ident $description:ident description: $value:literal, $($other:tt)*) => { ... };
    (@opg_security_scheme_api_key $parameter_in:ident $name:ident $description:ident $(,)?) => { ... };
    (@opg_property $result:ident paths $(($first_path_segment:tt$( / $path_segment:tt)*): {
        $($properties:tt)*
    }),*$(,)?) => { ... };
    (@opg_path_value_properties $result:ident $context:ident $field:ident: $value:literal, $($other:tt)*) => { ... };
    (@opg_path_value_properties $result:ident $context:ident parameters: { $($parameters:tt)* }, $($other:tt)*) => { ... };
    (@opg_path_value_properties $result:ident $context:ident $method:ident: { $($properties:tt)* }, $($other:tt)*) => { ... };
    (@opg_path_value_properties $result:ident $context:ident $(,)?) => { ... };
    (@opg_path_value_operation_properties $result:ident $context:ident $field:ident: $value:literal, $($other:tt)*) => { ... };
    (@opg_path_value_operation_properties $result:ident $context:ident tags: {$($tag:ident),*$(,)?}, $($other:tt)*) => { ... };
    (@opg_path_value_operation_properties $result:ident $context:ident parameters: { $($parameters:tt)* }, $($other:tt)*) => { ... };
    (@opg_path_value_operation_properties $result:ident $context:ident security: { $($security:tt)* }, $($other:tt)*) => { ... };
    (@opg_path_value_operation_properties $result:ident $context:ident body: { $($body:tt)* }, $($other:tt)*) => { ... };
    (@opg_path_value_operation_properties $result:ident $context:ident body: $type:path, $($other:tt)*) => { ... };
    (@opg_path_value_operation_properties $result:ident $context:ident $response:literal$(($description:literal))?: None, $($other:tt)*) => { ... };
    (@opg_path_value_operation_properties $result:ident $context:ident $response:literal$(($description:literal))?: (), $($other:tt)*) => { ... };
    (@opg_path_value_operation_properties $result:ident $context:ident $response:literal$(($description:literal))?: $type:path, $($other:tt)*) => { ... };
    (@opg_path_value_operation_properties $result:ident $context:ident $response:literal$(($description:literal))?: {$($schema:tt)+}, $($other:tt)*) => { ... };
    (@opg_path_value_operation_properties $result:ident $context:ident $(,)?) => { ... };
    (@opg_path_value_security $result:ident $context:ident $($security:tt$([$($role:literal),*])?)&&+, $($other:tt)*) => { ... };
    (@opg_path_value_security $result:ident $context:ident $(,)*) => { ... };
    (@opg_path_value_security_item $result:ident $context:ident $security:literal$([$($role:literal),*])?) => { ... };
    (@opg_path_value_security_item $result:ident $context:ident $security:ident$([$($role:literal),*])?) => { ... };
    (@opg_path_value_body_properties $result:ident $description:ident $required:ident $schema:ident schema: $type:path, $($other:tt)*) => { ... };
    (@opg_path_value_body_properties $result:ident $description:ident $required:ident $schema:ident description: $value:literal, $($other:tt)*) => { ... };
    (@opg_path_value_body_properties $result:ident $description:ident $required:ident $schema:ident required: $value:literal, $($other:tt)*) => { ... };
    (@opg_path_value_body_properties $result:ident $description:ident $required:ident $schema:ident $(,)?) => { ... };
    (@opg_path_value_parameters $result:ident $context:ident (header $name:literal): { $($properties:tt)* }, $($other:tt)*) => { ... };
    (@opg_path_value_parameters $result:ident $context:ident (header $name:literal), $($other:tt)*) => { ... };
    (@opg_path_value_parameters $result:ident $context:ident (query $name:ident: $type:path): { $($properties:tt)* }, $($other:tt)*) => { ... };
    (@opg_path_value_parameters $result:ident $context:ident (query $name:ident: $type:path), $($other:tt)*) => { ... };
    (@opg_path_value_parameters $result:ident $context:ident $(,)?) => { ... };
    (@opg_path_value_parameter_properties $result:ident $context:ident description: $value:literal, $($other:tt)*) => { ... };
    (@opg_path_value_parameter_properties $result:ident $context:ident required: $value:literal, $($other:tt)*) => { ... };
    (@opg_path_value_parameter_properties $result:ident $context:ident schema: $type:path, $($other:tt)*) => { ... };
    (@opg_path_value_parameter_properties $result:ident $context:ident $(,)?) => { ... };
    (@opg_path_url $path:ident $result:ident $context:ident $current:tt $($other:tt)*) => { ... };
    (@opg_path_url $path:ident $result:ident $context:ident) => { ... };
    (@opg_path_url_element $result:ident $context:ident $segment:literal) => { ... };
    (@opg_path_url_element $result:ident $context:ident $parameter:path) => { ... };
    (@opg_path_url_element $result:ident $context:ident {$name:ident: $parameter:path}) => { ... };
    (@opg_path_insert_url_param $result:ident $context:ident $name:ident $parameter:path) => { ... };
}