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
Is it possible to create a tag description with the current API?
The text was updated successfully, but these errors were encountered:
Tags, yes Tag description, no, not using a macro at least.
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 Just add your tags and there description.
okapi/okapi/src/openapi3.rs
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
Sorry, something went wrong.
No branches or pull requests
Is it possible to create a tag description with the current API?
The text was updated successfully, but these errors were encountered: