Is your feature request related to a problem? Please describe.
I reviewed the Salvo documentation but couldn’t find guidance on how to integrate authentication components—specifically OAuth2Password—directly into the generated Swagger UI documentation. Currently, there doesn’t seem to be a straightforward way for middleware-based authentication to appear in the Swagger UI as a standard OAuth2 security scheme.
Describe the solution you'd like.
It would be helpful to provide a macro, annotation, or configuration option that enables developers to integrate authentication into Swagger UI automatically. Ideally, this would allow OAuth2Password (or other supported authentication methods) to appear in the Swagger documentation’s “Authorize” modal and apply security requirements to selected endpoints.