Carter is framework that is a thin layer of extension methods and functionality over ASP.NET Core allowing code to be more explicit and most importantly more enjoyable.
That will allow it to be set in the components schema and can be applied globally and/or overridden per route by adding an additional property in the RouteMeta class
OpenAPI supports security schemas https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#securitySchemeObject that should be supported in Carter's
OpenApiOptions
classThat will allow it to be set in the components schema and can be applied globally and/or overridden per route by adding an additional property in the RouteMeta class