-
Notifications
You must be signed in to change notification settings - Fork 112
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
Tag description #78
Comments
Tags, yes You can merge multiple OpenAPI specs like here: https://github.com/GREsau/okapi/blob/master/examples/custom_schema/src/main.rs#L61 or using https://docs.rs/rocket_okapi/0.8.0-rc.1/rocket_okapi/macro.openapi_get_routes_spec.html Line 59 in e686b44
OpenApi {
tags: vec![
Tag {
name: "Message".to_owned(),
description: Some("Here is my desc".to_owned()),
},
// ...
]
} If you want to add this using macros, PR's are welcome see: okapi/rocket-okapi-codegen/src/openapi_attr/mod.rs Lines 19 to 24 in e686b44
|
Is it possible to create a tag description with the current API?
The text was updated successfully, but these errors were encountered: