OAuth 2 doesn't have a restriction on scopes needing encompass a whole endpoint, so I'd like a way in Swagger to define an optional scope. For example, returning the user's email on the /users/{user_id} endpoint allows an optional access_email scope. I could create new security schemes for each combination, but that's pretty cumbersome, especially with 5-10 possible scope combinations.