Esempio n. 1
0
        public ApiKeySchemeBuilder ApiKey(string name)
        {
            var schemeBuilder = new ApiKeySchemeBuilder();

            _securitySchemeBuilders[name] = schemeBuilder;
            return(schemeBuilder);
        }
Esempio n. 2
0
        public ApiKeySchemeBuilder ApiKey(string name)
        {
            ApiKeySchemeBuilder keySchemeBuilder = new ApiKeySchemeBuilder();

            this._securitySchemeBuilders[name] = (SecuritySchemeBuilder)keySchemeBuilder;
            return(keySchemeBuilder);
        }