you can define your security schemes globally like that:
description: security token which has to be provided in the header
the security token you have to provide
securedBy: [ simple_token ]
In this example you secure both resources by defining
securedBy globally with
simple_token which is your custom security schema (custom using the type
Does this answer your question?