Possible to use $ref in security and securityDefinitions? #846
Labels
re-use: ref-everywhere
Requests to support referencing in more / all places
security: config
The mechanics of severs and structure of security-related objects
security
For large API structures, it makes sense to have API and definitions split out into multiple files for reuse and readability. Both security and securityDefinitions seem like properties that would benefit from leveraging the use of $ref. This way security info can be shared across multiple swagger files for one application.
Is it currently possible and are there examples of how to do it? I've tried multiple ways of defining the structure and nothing seems to work/get validated.
The text was updated successfully, but these errors were encountered: