-
Notifications
You must be signed in to change notification settings - Fork 221
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
Support for description
and summary
attributes on #[utoipa::path]
macro.
#781
Comments
That is by design. There is no Relatead #439 |
description
and summary
attributes on #[utoipa::path]
macro.
Add `description = ...` and `summary = ...` attributes for `#[utoipa::path(...)]` attribute macro to allow description and summary overriding. When these attributes are defined the values are not resolved from the doc comment above the function. The value can be either literal string or expression e.g. reference to a `const` variable or `include_str!(...)` statement. Relates to #802 Resolves #439 Resolves #781
I have now implemented support for the |
https://swagger.io/specification/?sbsearch=description#path-item-object
in
#[utoipa::path()]
when i add description or summary
unexpected identifier, expected any of: operation_id, path, get, post, put, delete, options, head, patch, trace, connect, request_body, responses, params, tag, security, context_path
The text was updated successfully, but these errors were encountered: