Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

provide security functions for swagger security initialisation #4

@EvaLok

Description

@EvaLok

currently user has to do that manually; should happen automagically

currently done this way:

var options = config.get('customSwagger');
options.security = {
    apiKeySecurity: function (req, authOrSecDef, scopesOrApiKey, cb) {
        // auth stuff
    }
};

http.enableSwagger(swaggerDoc, options);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions