Include Authorize in Swagger docs

If I have some API endpoints set with [Authorize] and Swagger is set to use JWT, everything works really, really well.
What would be a nice feature though is if the [Authorize] attribute could appear in the Swagger page. For example, the lock icon shows whether the JWT has been entered into the Swagger page. Would be nice if there was another icon (or maybe update the current icon) to indicate whether authorization is actually required for that endpoint. Right now I add (public) to the beginning of the

tag to indicate that no JWT is required for endpoints that do not have the [authroize] attribute set. Could also include the other attributes as well if found in the source code.

Is this a feature of the OpenAPI spec itself?