We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'd expect to be able to do something like this:
#[path(get, path="...", responses( (status = 200, body = Foo, links = ("someLink", ...))]
Relevant portion of the spec: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#link-object
The text was updated successfully, but these errors were encountered:
That is true, it hasn't been implemented so far but should be added in future for sure. Also PRs are welcome 🙂
Sorry, something went wrong.
Add support for links in #[utoipa::path]
links
#[utoipa::path]
7472443
This commit adds support for OpenAPI links https://spec.openapis.org/oas/latest.html#link-object in `#[utoipa::path(...)]` response object. Also improve documentation as mentioned in issue #919 Closes #551 Closes #919
f6d1c3d
Successfully merging a pull request may close this issue.
I'd expect to be able to do something like this:
Relevant portion of the spec: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#link-object
The text was updated successfully, but these errors were encountered: