[][src]Macro opg::describe_api

macro_rules! describe_api {
    ($($property:ident: {$($property_value:tt)+}),*$(,)?) => { ... };
    (@opg_property $components: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 $components:ident tags $($tag:ident$(($description:literal))?),*$(,)?) => { ... };
    (@opg_property $components:ident servers $($url:literal$(($description:literal))?),*$(,)?) => { ... };
    (@opg_property $components:ident paths $(($first_path_segment:tt$( / $path_segment:tt)*): {
        $($properties:tt)*
    }),*$(,)?) => { ... };
    (@opg_path_value_properties $components:ident $context:ident $(,)? $field:ident: $value:literal $($other:tt)*) => { ... };
    (@opg_path_value_properties $components:ident $context:ident $(,)? parameters: { $($parameters:tt)* } $($other:tt)*) => { ... };
    (@opg_path_value_properties $components:ident $context:ident $(,)? $method:ident: { $($properties:tt)* } $($other:tt)*) => { ... };
    (@opg_path_value_properties $components:ident $context:ident $(,)?) => { ... };
    (@opg_path_value_operation_properties $components:ident $context:ident $(,)? $field:ident: $value:literal $($other:tt)*) => { ... };
    (@opg_path_value_operation_properties $components:ident $context:ident $(,)? tags: {$($tag:ident),*$(,)?} $($other:tt)*) => { ... };
    (@opg_path_value_operation_properties $components:ident $context:ident $(,)? parameters: { $($parameters:tt)* } $($other:tt)*) => { ... };
    (@opg_path_value_operation_properties $components:ident $context:ident $(,)? body: { $($body:tt)* } $($other:tt)*) => { ... };
    (@opg_path_value_operation_properties $components:ident $context:ident $(,)? $response:literal: $type:tt ($description:literal) $($other:tt)*) => { ... };
    (@opg_path_value_operation_properties $components:ident $context:ident $(,)?) => { ... };
    (@opg_path_value_body_properties $components:ident $description:ident $required:ident $schema:ident $(,)? schema: $type:tt $($other:tt)*) => { ... };
    (@opg_path_value_body_properties $components:ident $description:ident $required:ident $schema:ident $(,)? description: $value:literal $($other:tt)*) => { ... };
    (@opg_path_value_body_properties $components:ident $description:ident $required:ident $schema:ident $(,)? required: $value:literal $($other:tt)*) => { ... };
    (@opg_path_value_body_properties $components:ident $description:ident $required:ident $schema:ident $(,)?) => { ... };
    (@opg_path_value_parameters $components:ident $context:ident (header $name:literal): { $($properties:tt)* } $($other:tt)*) => { ... };
    (@opg_path_value_parameters $components:ident $context:ident (query $name:ident: $type:ty): { $($properties:tt)* } $($other:tt)*) => { ... };
    (@opg_path_value_parameter_properties $components:ident $context:ident $(,)? description: $value:literal $($other:tt)*) => { ... };
    (@opg_path_value_parameter_properties $components:ident $context:ident $(,)? required: $value:literal $($other:tt)*) => { ... };
    (@opg_path_value_parameter_properties $components:ident $context:ident $(,)? schema: $type:tt $($other:tt)*) => { ... };
    (@opg_path_value_parameter_properties $components:ident $context:ident $(,)?) => { ... };
    (@opg_path_url $path:ident $context:ident $current:tt $($other:tt)*) => { ... };
    (@opg_path_url $path:ident $context:ident) => { ... };
    (@opg_path_url_element $context:ident $segment:literal) => { ... };
    (@opg_path_url_element $context:ident $parameter:ty) => { ... };
    (@opg_path_url_element $context:ident {$name:ident: $parameter:ty}) => { ... };
    (@opg_path_insert_url_param $context:ident $name:ident $parameter:ty) => { ... };
}