Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for addtional tags via tags #916

Merged
merged 1 commit into from
May 7, 2024
Merged

Commits on May 7, 2024

  1. Add support for addtional tags via tags

    Add support for additonal tags via `tags` attribute on `utoipa::path`
    macro. All the tags will be appended to the tags will be appended to the
    tags of the operation. This means that the default tag (the
    handler function name by default) will be added if not overridden with
    the `tag` attribute.
    
    ```rust
     #[utoipa::path(
        get,
        tag = "some_tag",
        tags = ["addtional tag 1", "another one"]
     )]
     fn handler() {}
    ```
    juhaku committed May 7, 2024
    Configuration menu
    Copy the full SHA
    1abf482 View commit details
    Browse the repository at this point in the history